Skip to content

Commit

Permalink
Switch to XCTest
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Watters committed Mar 14, 2014
1 parent 4cd4401 commit 98ae43e
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 34 deletions.
4 changes: 2 additions & 2 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ target :ios do
link_with 'iOS Specs'

pod 'TransitionKit', path: '.'
pod 'Kiwi/SenTestingKit', '~> 2.2'
pod 'Kiwi/XCTest', '~> 2.2.3'
end

target :osx do
platform :osx, '10.7'
link_with 'OS X Specs'

pod 'TransitionKit', path: '.'
pod 'Kiwi/SenTestingKit', '~> 2.2.2'
pod 'Kiwi/XCTest', '~> 2.2.3'
end
13 changes: 6 additions & 7 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
PODS:
- Kiwi/ARC (2.2.2)
- Kiwi/NonARC (2.2.2)
- Kiwi/SenTestingKit (2.2.2):
- Kiwi/ARC (2.2.3)
- Kiwi/NonARC (2.2.3)
- Kiwi/XCTest (2.2.3):
- Kiwi/ARC
- Kiwi/NonARC
- TransitionKit (2.0.0)

DEPENDENCIES:
- Kiwi/SenTestingKit (~> 2.2)
- Kiwi/SenTestingKit (~> 2.2.2)
- Kiwi/XCTest (~> 2.2.3)
- TransitionKit (from `.`)

EXTERNAL SOURCES:
TransitionKit:
:path: .

SPEC CHECKSUMS:
Kiwi: 03539aeb004ccd42bdbc31253617b26364315df4
Kiwi: 04c51e880831d291748ec702d42c4101f7eb95c9
TransitionKit: 433284465abacdc07852d7db6dd0cc075010059a

COCOAPODS: 0.26.2
COCOAPODS: 0.29.0
20 changes: 18 additions & 2 deletions Specs/Schemes/OS X Specs.xcscheme
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0500"
LastUpgradeVersion = "0510"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "252C462B16F6849A00CF1FEA"
BuildableName = "OS X Specs.xctest"
BlueprintName = "OS X Specs"
ReferencedContainer = "container:TransitionKit.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
Expand All @@ -17,7 +33,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "252C462B16F6849A00CF1FEA"
BuildableName = "OS X Specs.octest"
BuildableName = "OS X Specs.xctest"
BlueprintName = "OS X Specs"
ReferencedContainer = "container:TransitionKit.xcodeproj">
</BuildableReference>
Expand Down
20 changes: 18 additions & 2 deletions Specs/Schemes/iOS Specs.xcscheme
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0500"
LastUpgradeVersion = "0510"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "25AE19B41809A70E00AF5535"
BuildableName = "iOS Specs.xctest"
BlueprintName = "iOS Specs"
ReferencedContainer = "container:TransitionKit.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
Expand All @@ -17,7 +33,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "25AE19B41809A70E00AF5535"
BuildableName = "iOS Specs.octest"
BuildableName = "iOS Specs.xctest"
BlueprintName = "iOS Specs"
ReferencedContainer = "container:TransitionKit.xcodeproj">
</BuildableReference>
Expand Down
31 changes: 10 additions & 21 deletions TransitionKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@
objects = {

/* Begin PBXBuildFile section */
252C462D16F6849A00CF1FEA /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 252C45EA16F681D500CF1FEA /* SenTestingKit.framework */; };
252C462E16F6849A00CF1FEA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 252C461716F6849A00CF1FEA /* Cocoa.framework */; };
252C465316F6A57700CF1FEA /* TKStateMachineSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = 252C465116F6A57700CF1FEA /* TKStateMachineSpec.m */; };
252C465716F6A58700CF1FEA /* TKEventSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = 252C465516F6A58700CF1FEA /* TKEventSpec.m */; };
252C465B16F6A59500CF1FEA /* TKStateSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = 252C465916F6A59500CF1FEA /* TKStateSpec.m */; };
25AE19B61809A70E00AF5535 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 252C45EA16F681D500CF1FEA /* SenTestingKit.framework */; };
25AE19B71809A70E00AF5535 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 252C45DB16F681D400CF1FEA /* Foundation.framework */; };
25AE19B81809A70E00AF5535 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 252C45EC16F681D500CF1FEA /* UIKit.framework */; };
25AE19C51809A72400AF5535 /* TKStateMachineSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = 252C465116F6A57700CF1FEA /* TKStateMachineSpec.m */; };
Expand All @@ -24,7 +22,6 @@

/* Begin PBXFileReference section */
252C45DB16F681D400CF1FEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
252C45EA16F681D500CF1FEA /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; };
252C45EC16F681D500CF1FEA /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; };
252C460416F6833D00CF1FEA /* TransitionKit-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "TransitionKit-Prefix.pch"; sourceTree = "<group>"; };
252C460A16F6835900CF1FEA /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
Expand All @@ -33,7 +30,7 @@
252C461A16F6849A00CF1FEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
252C461B16F6849A00CF1FEA /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
252C461C16F6849A00CF1FEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
252C462C16F6849A00CF1FEA /* OS X Specs.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "OS X Specs.octest"; sourceTree = BUILT_PRODUCTS_DIR; };
252C462C16F6849A00CF1FEA /* OS X Specs.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "OS X Specs.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
252C464116F6A4B500CF1FEA /* TKStateMachine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TKStateMachine.h; sourceTree = "<group>"; };
252C464216F6A4B500CF1FEA /* TKStateMachine.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TKStateMachine.m; sourceTree = "<group>"; };
252C464616F6A4C200CF1FEA /* TKEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TKEvent.h; sourceTree = "<group>"; };
Expand All @@ -44,7 +41,7 @@
252C465516F6A58700CF1FEA /* TKEventSpec.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TKEventSpec.m; sourceTree = "<group>"; };
252C465916F6A59500CF1FEA /* TKStateSpec.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TKStateSpec.m; sourceTree = "<group>"; };
252C465C16F6A79100CF1FEA /* TransitionKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TransitionKit.h; sourceTree = "<group>"; };
25AE19B51809A70E00AF5535 /* iOS Specs.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "iOS Specs.octest"; sourceTree = BUILT_PRODUCTS_DIR; };
25AE19B51809A70E00AF5535 /* iOS Specs.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "iOS Specs.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
25B01F9A1808941D007488E1 /* TKTransition.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TKTransition.h; sourceTree = "<group>"; };
25B01F9B1808941D007488E1 /* TKTransition.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TKTransition.m; sourceTree = "<group>"; };
32A48E628DDE45B98F10DBA5 /* libPods-ios.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ios.a"; sourceTree = BUILT_PRODUCTS_DIR; };
Expand All @@ -58,7 +55,6 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
252C462D16F6849A00CF1FEA /* SenTestingKit.framework in Frameworks */,
252C462E16F6849A00CF1FEA /* Cocoa.framework in Frameworks */,
42AE467DF3384AE6834629CA /* libPods-osx.a in Frameworks */,
);
Expand All @@ -68,7 +64,6 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
25AE19B61809A70E00AF5535 /* SenTestingKit.framework in Frameworks */,
25AE19B81809A70E00AF5535 /* UIKit.framework in Frameworks */,
25AE19B71809A70E00AF5535 /* Foundation.framework in Frameworks */,
2F4EC36CAD4D4CB08D744BB4 /* libPods-ios.a in Frameworks */,
Expand All @@ -93,8 +88,8 @@
252C45D916F681D400CF1FEA /* Products */ = {
isa = PBXGroup;
children = (
252C462C16F6849A00CF1FEA /* OS X Specs.octest */,
25AE19B51809A70E00AF5535 /* iOS Specs.octest */,
252C462C16F6849A00CF1FEA /* OS X Specs.xctest */,
25AE19B51809A70E00AF5535 /* iOS Specs.xctest */,
);
name = Products;
sourceTree = "<group>";
Expand All @@ -103,7 +98,6 @@
isa = PBXGroup;
children = (
252C45DB16F681D400CF1FEA /* Foundation.framework */,
252C45EA16F681D500CF1FEA /* SenTestingKit.framework */,
252C45EC16F681D500CF1FEA /* UIKit.framework */,
252C461716F6849A00CF1FEA /* Cocoa.framework */,
252C461916F6849A00CF1FEA /* Other Frameworks */,
Expand Down Expand Up @@ -171,8 +165,8 @@
);
name = "OS X Specs";
productName = TransitionKitFrameworkTests;
productReference = 252C462C16F6849A00CF1FEA /* OS X Specs.octest */;
productType = "com.apple.product-type.bundle";
productReference = 252C462C16F6849A00CF1FEA /* OS X Specs.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
25AE19B41809A70E00AF5535 /* iOS Specs */ = {
isa = PBXNativeTarget;
Expand All @@ -190,16 +184,17 @@
);
name = "iOS Specs";
productName = "iOS Specs";
productReference = 25AE19B51809A70E00AF5535 /* iOS Specs.octest */;
productType = "com.apple.product-type.bundle";
productReference = 25AE19B51809A70E00AF5535 /* iOS Specs.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
252C45D016F681D400CF1FEA /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0460;
LastTestingUpgradeCheck = 0510;
LastUpgradeCheck = 0510;
};
buildConfigurationList = 252C45D316F681D400CF1FEA /* Build configuration list for PBXProject "TransitionKit" */;
compatibilityVersion = "Xcode 3.2";
Expand Down Expand Up @@ -397,7 +392,6 @@
MACOSX_DEPLOYMENT_TARGET = 10.8;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
WRAPPER_EXTENSION = octest;
};
name = Debug;
};
Expand All @@ -415,15 +409,13 @@
MACOSX_DEPLOYMENT_TARGET = 10.8;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
WRAPPER_EXTENSION = octest;
};
name = Release;
};
25AE19C31809A70E00AF5535 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 4617986E2EAF4812B3EF4B07 /* Pods-ios.xcconfig */;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
CLANG_ENABLE_MODULES = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
Expand All @@ -446,15 +438,13 @@
INFOPLIST_FILE = "Specs/TransitionKitTests-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = octest;
};
name = Debug;
};
25AE19C41809A70E00AF5535 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 4617986E2EAF4812B3EF4B07 /* Pods-ios.xcconfig */;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
CLANG_ENABLE_MODULES = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
Expand All @@ -474,7 +464,6 @@
INFOPLIST_FILE = "Specs/TransitionKitTests-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = octest;
};
name = Release;
};
Expand Down

0 comments on commit 98ae43e

Please sign in to comment.