From 6093f53e2cf36c6ef7ed78f78796c440111d1735 Mon Sep 17 00:00:00 2001 From: Peter Prokop Date: Thu, 21 Apr 2016 11:03:07 +0200 Subject: [PATCH] Fix testing --- SCLAlertView.xcodeproj/project.pbxproj | 4 ++-- SCLAlertViewTests/SCLAlertViewInitTests.swift | 2 ++ SCLAlertViewTests/SCLAlertViewPropertiesTests.swift | 2 ++ SCLAlertViewTests/SCLAlertViewStyleTests.swift | 2 ++ SCLAlertViewTests/SCLButtonTests.swift | 2 ++ SCLAlertViewTests/SCLPublicConstructorsTest.swift | 2 ++ SCLAlertViewTests/SCLTextFieldTests.swift | 2 ++ 7 files changed, 14 insertions(+), 2 deletions(-) diff --git a/SCLAlertView.xcodeproj/project.pbxproj b/SCLAlertView.xcodeproj/project.pbxproj index 536406f..a58a480 100644 --- a/SCLAlertView.xcodeproj/project.pbxproj +++ b/SCLAlertView.xcodeproj/project.pbxproj @@ -17,7 +17,6 @@ 9EAEFBC51CC2AA6600BA87FB /* SCLExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9EAEFBC41CC2AA6600BA87FB /* SCLExtensions.swift */; }; 9EE073151C9D7F4C002B43FD /* SCLAlertViewPropertiesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9EE073131C9D7F4C002B43FD /* SCLAlertViewPropertiesTests.swift */; }; 9EE073161C9D7F4C002B43FD /* SCLAlertViewStyleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9EE073141C9D7F4C002B43FD /* SCLAlertViewStyleTests.swift */; }; - 9EE073171C9D7F6B002B43FD /* SCLAlertView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 70264F171B0F592500B32B18 /* SCLAlertView.swift */; }; 9EE99F911CA6B2320090F845 /* SCLPublicConstructorsTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9EE99F901CA6B2320090F845 /* SCLPublicConstructorsTest.swift */; }; /* End PBXBuildFile section */ @@ -252,7 +251,6 @@ 9EE073161C9D7F4C002B43FD /* SCLAlertViewStyleTests.swift in Sources */, 9E124F1D1C9EA6B5001A4972 /* SCLTextFieldTests.swift in Sources */, 9E124F1B1C9EA303001A4972 /* SCLAlertViewInitTests.swift in Sources */, - 9EE073171C9D7F6B002B43FD /* SCLAlertView.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -363,6 +361,7 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_TESTABILITY = YES; INFOPLIST_FILE = SCLAlertView/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 7.0; @@ -379,6 +378,7 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_TESTABILITY = YES; INFOPLIST_FILE = SCLAlertView/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 7.0; diff --git a/SCLAlertViewTests/SCLAlertViewInitTests.swift b/SCLAlertViewTests/SCLAlertViewInitTests.swift index f926b50..470c01a 100644 --- a/SCLAlertViewTests/SCLAlertViewInitTests.swift +++ b/SCLAlertViewTests/SCLAlertViewInitTests.swift @@ -6,6 +6,8 @@ // Copyright © 2016 Alexey Poimtsev. All rights reserved. // +@testable import SCLAlertView + import XCTest class SCLAlertViewInitTests: XCTestCase { diff --git a/SCLAlertViewTests/SCLAlertViewPropertiesTests.swift b/SCLAlertViewTests/SCLAlertViewPropertiesTests.swift index ca8e175..ee9a7ce 100644 --- a/SCLAlertViewTests/SCLAlertViewPropertiesTests.swift +++ b/SCLAlertViewTests/SCLAlertViewPropertiesTests.swift @@ -6,6 +6,8 @@ // Copyright © 2016 Alexey Poimtsev. All rights reserved. // +@testable import SCLAlertView + import XCTest class SCLAlertViewPropertiesTests: XCTestCase { diff --git a/SCLAlertViewTests/SCLAlertViewStyleTests.swift b/SCLAlertViewTests/SCLAlertViewStyleTests.swift index 5f71390..d962ea2 100644 --- a/SCLAlertViewTests/SCLAlertViewStyleTests.swift +++ b/SCLAlertViewTests/SCLAlertViewStyleTests.swift @@ -6,6 +6,8 @@ // Copyright (c) 2015 Alexey Poimtsev. All rights reserved. // +@testable import SCLAlertView + import UIKit import XCTest diff --git a/SCLAlertViewTests/SCLButtonTests.swift b/SCLAlertViewTests/SCLButtonTests.swift index 8c9c102..a39ec2a 100644 --- a/SCLAlertViewTests/SCLButtonTests.swift +++ b/SCLAlertViewTests/SCLButtonTests.swift @@ -6,6 +6,8 @@ // Copyright © 2016 Alexey Poimtsev. All rights reserved. // +@testable import SCLAlertView + import XCTest class SCLButtonTests: XCTestCase { diff --git a/SCLAlertViewTests/SCLPublicConstructorsTest.swift b/SCLAlertViewTests/SCLPublicConstructorsTest.swift index 54bcd24..4636e17 100644 --- a/SCLAlertViewTests/SCLPublicConstructorsTest.swift +++ b/SCLAlertViewTests/SCLPublicConstructorsTest.swift @@ -6,6 +6,8 @@ // Copyright © 2016 Alexey Poimtsev. All rights reserved. // +@testable import SCLAlertView + import XCTest class SCLPublicConstructorsTest: XCTestCase { diff --git a/SCLAlertViewTests/SCLTextFieldTests.swift b/SCLAlertViewTests/SCLTextFieldTests.swift index dde15d2..70e0169 100644 --- a/SCLAlertViewTests/SCLTextFieldTests.swift +++ b/SCLAlertViewTests/SCLTextFieldTests.swift @@ -6,6 +6,8 @@ // Copyright © 2016 Alexey Poimtsev. All rights reserved. // +@testable import SCLAlertView + import XCTest class SCLTextFieldTests: XCTestCase {