Skip to content

Commit 050f8ce

Browse files
committed
Import tests from Demo/DemoTests
1 parent de85b71 commit 050f8ce

File tree

5 files changed

+830
-34
lines changed

5 files changed

+830
-34
lines changed

Action.xcodeproj/project.pbxproj

Lines changed: 77 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,26 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
7F53BC011D7F0C760098EC20 /* Nimble.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F53BC001D7F0C760098EC20 /* Nimble.framework */; };
11-
7F5E6A601D7F06C4000B6076 /* RxBlocking.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F5E6A5D1D7F06C4000B6076 /* RxBlocking.framework */; };
12-
7F5E6A611D7F06C4000B6076 /* RxCocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F5E6A5E1D7F06C4000B6076 /* RxCocoa.framework */; };
13-
7F5E6A621D7F06C4000B6076 /* RxSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F5E6A5F1D7F06C4000B6076 /* RxSwift.framework */; };
14-
7F5E6A6C1D7F08D2000B6076 /* Action.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BE73AD201CDCD101006F8B98 /* Action.framework */; };
15-
7F5E6A761D7F08F9000B6076 /* Quick.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F5E6A721D7F08F9000B6076 /* Quick.framework */; };
16-
7F5E6A771D7F08F9000B6076 /* RxBlocking.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F5E6A731D7F08F9000B6076 /* RxBlocking.framework */; };
17-
7F5E6A781D7F08F9000B6076 /* RxCocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F5E6A741D7F08F9000B6076 /* RxCocoa.framework */; };
18-
7F5E6A791D7F08F9000B6076 /* RxSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F5E6A751D7F08F9000B6076 /* RxSwift.framework */; };
10+
7F53BBE71D7F0BBA0098EC20 /* ActionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7F53BBE31D7F0BBA0098EC20 /* ActionTests.swift */; };
11+
7F53BBE81D7F0BBA0098EC20 /* AlertActionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7F53BBE41D7F0BBA0098EC20 /* AlertActionTests.swift */; };
12+
7F53BBE91D7F0BBA0098EC20 /* BarButtonTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7F53BBE51D7F0BBA0098EC20 /* BarButtonTests.swift */; };
13+
7F53BBEA1D7F0BBA0098EC20 /* ButtonTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7F53BBE61D7F0BBA0098EC20 /* ButtonTests.swift */; };
14+
7F612AA01D7F103A00B93BC5 /* Action.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BE73AD201CDCD101006F8B98 /* Action.framework */; };
15+
7F612AAE1D7F106900B93BC5 /* RxSwift.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 7F612AAB1D7F106900B93BC5 /* RxSwift.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
16+
7F612AAF1D7F106900B93BC5 /* RxCocoa.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 7F612AAC1D7F106900B93BC5 /* RxCocoa.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
17+
7F612AB01D7F106900B93BC5 /* RxBlocking.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 7F612AAD1D7F106900B93BC5 /* RxBlocking.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
18+
7F612ABA1D7F10C000B93BC5 /* Quick.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 7F612AB91D7F10C000B93BC5 /* Quick.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
19+
7F612ABC1D7F10C900B93BC5 /* Nimble.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 7F612ABB1D7F10C900B93BC5 /* Nimble.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
20+
7F612ABE1D7F10FE00B93BC5 /* RxTests.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 7F612ABD1D7F10FE00B93BC5 /* RxTests.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
21+
7F612ABF1D7F110800B93BC5 /* Nimble.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F612ABB1D7F10C900B93BC5 /* Nimble.framework */; };
22+
7F612AC01D7F110800B93BC5 /* Quick.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F612AB91D7F10C000B93BC5 /* Quick.framework */; };
23+
7F612AC11D7F110800B93BC5 /* RxSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F612AAB1D7F106900B93BC5 /* RxSwift.framework */; };
24+
7F612AC21D7F110800B93BC5 /* RxCocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F612AAC1D7F106900B93BC5 /* RxCocoa.framework */; };
25+
7F612AC31D7F110800B93BC5 /* RxBlocking.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F612AAD1D7F106900B93BC5 /* RxBlocking.framework */; };
26+
7F612AC41D7F110800B93BC5 /* RxTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F612ABD1D7F10FE00B93BC5 /* RxTests.framework */; };
27+
7F612AC51D7F110E00B93BC5 /* RxSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F612AAB1D7F106900B93BC5 /* RxSwift.framework */; };
28+
7F612AC61D7F110E00B93BC5 /* RxCocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F612AAC1D7F106900B93BC5 /* RxCocoa.framework */; };
29+
7F612AC71D7F110E00B93BC5 /* RxBlocking.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F612AAD1D7F106900B93BC5 /* RxBlocking.framework */; };
1930
BE73AD241CDCD102006F8B98 /* Action.h in Headers */ = {isa = PBXBuildFile; fileRef = BE73AD231CDCD102006F8B98 /* Action.h */; settings = {ATTRIBUTES = (Public, ); }; };
2031
BE73AD371CDCEAE0006F8B98 /* Action.swift in Sources */ = {isa = PBXBuildFile; fileRef = BE73AD331CDCEAE0006F8B98 /* Action.swift */; };
2132
BE73AD381CDCEAE0006F8B98 /* AlertAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = BE73AD341CDCEAE0006F8B98 /* AlertAction.swift */; };
@@ -33,17 +44,37 @@
3344
};
3445
/* End PBXContainerItemProxy section */
3546

47+
/* Begin PBXCopyFilesBuildPhase section */
48+
7F612A931D7F0EB700B93BC5 /* CopyFiles */ = {
49+
isa = PBXCopyFilesBuildPhase;
50+
buildActionMask = 2147483647;
51+
dstPath = "";
52+
dstSubfolderSpec = 10;
53+
files = (
54+
7F612AAE1D7F106900B93BC5 /* RxSwift.framework in CopyFiles */,
55+
7F612AAF1D7F106900B93BC5 /* RxCocoa.framework in CopyFiles */,
56+
7F612AB01D7F106900B93BC5 /* RxBlocking.framework in CopyFiles */,
57+
7F612ABE1D7F10FE00B93BC5 /* RxTests.framework in CopyFiles */,
58+
7F612ABA1D7F10C000B93BC5 /* Quick.framework in CopyFiles */,
59+
7F612ABC1D7F10C900B93BC5 /* Nimble.framework in CopyFiles */,
60+
);
61+
runOnlyForDeploymentPostprocessing = 0;
62+
};
63+
/* End PBXCopyFilesBuildPhase section */
64+
3665
/* Begin PBXFileReference section */
3766
7F53BBE11D7F0B140098EC20 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
38-
7F53BC001D7F0C760098EC20 /* Nimble.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Nimble.framework; path = "Carthage/Checkouts/Nimble/build/Debug-iphoneos/Nimble.framework"; sourceTree = "<group>"; };
39-
7F5E6A5D1D7F06C4000B6076 /* RxBlocking.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxBlocking.framework; path = "Carthage/Checkouts/RxSwift/build/Debug-iphoneos/RxBlocking.framework"; sourceTree = "<group>"; };
40-
7F5E6A5E1D7F06C4000B6076 /* RxCocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxCocoa.framework; path = "Carthage/Checkouts/RxSwift/build/Debug-iphoneos/RxCocoa.framework"; sourceTree = "<group>"; };
41-
7F5E6A5F1D7F06C4000B6076 /* RxSwift.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxSwift.framework; path = "Carthage/Checkouts/RxSwift/build/Debug-iphoneos/RxSwift.framework"; sourceTree = "<group>"; };
67+
7F53BBE31D7F0BBA0098EC20 /* ActionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ActionTests.swift; sourceTree = "<group>"; };
68+
7F53BBE41D7F0BBA0098EC20 /* AlertActionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AlertActionTests.swift; sourceTree = "<group>"; };
69+
7F53BBE51D7F0BBA0098EC20 /* BarButtonTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BarButtonTests.swift; sourceTree = "<group>"; };
70+
7F53BBE61D7F0BBA0098EC20 /* ButtonTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ButtonTests.swift; sourceTree = "<group>"; };
4271
7F5E6A671D7F08D2000B6076 /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
43-
7F5E6A721D7F08F9000B6076 /* Quick.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Quick.framework; path = "Carthage/Checkouts/Quick/build/Debug-iphoneos/Quick.framework"; sourceTree = "<group>"; };
44-
7F5E6A731D7F08F9000B6076 /* RxBlocking.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxBlocking.framework; path = "Carthage/Checkouts/RxSwift/build/Debug-iphoneos/RxBlocking.framework"; sourceTree = "<group>"; };
45-
7F5E6A741D7F08F9000B6076 /* RxCocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxCocoa.framework; path = "Carthage/Checkouts/RxSwift/build/Debug-iphoneos/RxCocoa.framework"; sourceTree = "<group>"; };
46-
7F5E6A751D7F08F9000B6076 /* RxSwift.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxSwift.framework; path = "Carthage/Checkouts/RxSwift/build/Debug-iphoneos/RxSwift.framework"; sourceTree = "<group>"; };
72+
7F612AAB1D7F106900B93BC5 /* RxSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = RxSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; };
73+
7F612AAC1D7F106900B93BC5 /* RxCocoa.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = RxCocoa.framework; sourceTree = BUILT_PRODUCTS_DIR; };
74+
7F612AAD1D7F106900B93BC5 /* RxBlocking.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = RxBlocking.framework; sourceTree = BUILT_PRODUCTS_DIR; };
75+
7F612AB91D7F10C000B93BC5 /* Quick.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Quick.framework; sourceTree = BUILT_PRODUCTS_DIR; };
76+
7F612ABB1D7F10C900B93BC5 /* Nimble.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Nimble.framework; sourceTree = BUILT_PRODUCTS_DIR; };
77+
7F612ABD1D7F10FE00B93BC5 /* RxTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = RxTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
4778
BE73AD201CDCD101006F8B98 /* Action.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Action.framework; sourceTree = BUILT_PRODUCTS_DIR; };
4879
BE73AD231CDCD102006F8B98 /* Action.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Action.h; sourceTree = "<group>"; };
4980
BE73AD251CDCD102006F8B98 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
@@ -58,22 +89,23 @@
5889
isa = PBXFrameworksBuildPhase;
5990
buildActionMask = 2147483647;
6091
files = (
61-
7F53BC011D7F0C760098EC20 /* Nimble.framework in Frameworks */,
62-
7F5E6A761D7F08F9000B6076 /* Quick.framework in Frameworks */,
63-
7F5E6A771D7F08F9000B6076 /* RxBlocking.framework in Frameworks */,
64-
7F5E6A781D7F08F9000B6076 /* RxCocoa.framework in Frameworks */,
65-
7F5E6A791D7F08F9000B6076 /* RxSwift.framework in Frameworks */,
66-
7F5E6A6C1D7F08D2000B6076 /* Action.framework in Frameworks */,
92+
7F612AA01D7F103A00B93BC5 /* Action.framework in Frameworks */,
93+
7F612ABF1D7F110800B93BC5 /* Nimble.framework in Frameworks */,
94+
7F612AC01D7F110800B93BC5 /* Quick.framework in Frameworks */,
95+
7F612AC11D7F110800B93BC5 /* RxSwift.framework in Frameworks */,
96+
7F612AC21D7F110800B93BC5 /* RxCocoa.framework in Frameworks */,
97+
7F612AC31D7F110800B93BC5 /* RxBlocking.framework in Frameworks */,
98+
7F612AC41D7F110800B93BC5 /* RxTests.framework in Frameworks */,
6799
);
68100
runOnlyForDeploymentPostprocessing = 0;
69101
};
70102
BE73AD1C1CDCD101006F8B98 /* Frameworks */ = {
71103
isa = PBXFrameworksBuildPhase;
72104
buildActionMask = 2147483647;
73105
files = (
74-
7F5E6A601D7F06C4000B6076 /* RxBlocking.framework in Frameworks */,
75-
7F5E6A611D7F06C4000B6076 /* RxCocoa.framework in Frameworks */,
76-
7F5E6A621D7F06C4000B6076 /* RxSwift.framework in Frameworks */,
106+
7F612AC51D7F110E00B93BC5 /* RxSwift.framework in Frameworks */,
107+
7F612AC61D7F110E00B93BC5 /* RxCocoa.framework in Frameworks */,
108+
7F612AC71D7F110E00B93BC5 /* RxBlocking.framework in Frameworks */,
77109
);
78110
runOnlyForDeploymentPostprocessing = 0;
79111
};
@@ -83,6 +115,10 @@
83115
7F53BBE01D7F0B140098EC20 /* Action */ = {
84116
isa = PBXGroup;
85117
children = (
118+
7F53BBE31D7F0BBA0098EC20 /* ActionTests.swift */,
119+
7F53BBE41D7F0BBA0098EC20 /* AlertActionTests.swift */,
120+
7F53BBE51D7F0BBA0098EC20 /* BarButtonTests.swift */,
121+
7F53BBE61D7F0BBA0098EC20 /* ButtonTests.swift */,
86122
7F53BBE11D7F0B140098EC20 /* Info.plist */,
87123
);
88124
path = Action;
@@ -91,14 +127,12 @@
91127
7F5E6A5C1D7F06C4000B6076 /* Frameworks */ = {
92128
isa = PBXGroup;
93129
children = (
94-
7F53BC001D7F0C760098EC20 /* Nimble.framework */,
95-
7F5E6A721D7F08F9000B6076 /* Quick.framework */,
96-
7F5E6A731D7F08F9000B6076 /* RxBlocking.framework */,
97-
7F5E6A741D7F08F9000B6076 /* RxCocoa.framework */,
98-
7F5E6A751D7F08F9000B6076 /* RxSwift.framework */,
99-
7F5E6A5D1D7F06C4000B6076 /* RxBlocking.framework */,
100-
7F5E6A5E1D7F06C4000B6076 /* RxCocoa.framework */,
101-
7F5E6A5F1D7F06C4000B6076 /* RxSwift.framework */,
130+
7F612ABB1D7F10C900B93BC5 /* Nimble.framework */,
131+
7F612AB91D7F10C000B93BC5 /* Quick.framework */,
132+
7F612AAB1D7F106900B93BC5 /* RxSwift.framework */,
133+
7F612AAC1D7F106900B93BC5 /* RxCocoa.framework */,
134+
7F612AAD1D7F106900B93BC5 /* RxBlocking.framework */,
135+
7F612ABD1D7F10FE00B93BC5 /* RxTests.framework */,
102136
);
103137
name = Frameworks;
104138
sourceTree = "<group>";
@@ -164,6 +198,7 @@
164198
7F5E6A631D7F08D2000B6076 /* Sources */,
165199
7F5E6A641D7F08D2000B6076 /* Frameworks */,
166200
7F5E6A651D7F08D2000B6076 /* Resources */,
201+
7F612A931D7F0EB700B93BC5 /* CopyFiles */,
167202
);
168203
buildRules = (
169204
);
@@ -205,6 +240,7 @@
205240
TargetAttributes = {
206241
7F5E6A661D7F08D2000B6076 = {
207242
CreatedOnToolsVersion = 8.0;
243+
LastSwiftMigration = 0800;
208244
ProvisioningStyle = Automatic;
209245
};
210246
BE73AD1F1CDCD101006F8B98 = {
@@ -253,6 +289,10 @@
253289
isa = PBXSourcesBuildPhase;
254290
buildActionMask = 2147483647;
255291
files = (
292+
7F53BBE91D7F0BBA0098EC20 /* BarButtonTests.swift in Sources */,
293+
7F53BBE81D7F0BBA0098EC20 /* AlertActionTests.swift in Sources */,
294+
7F53BBE71D7F0BBA0098EC20 /* ActionTests.swift in Sources */,
295+
7F53BBEA1D7F0BBA0098EC20 /* ButtonTests.swift in Sources */,
256296
);
257297
runOnlyForDeploymentPostprocessing = 0;
258298
};
@@ -281,6 +321,7 @@
281321
7F5E6A701D7F08D2000B6076 /* Debug */ = {
282322
isa = XCBuildConfiguration;
283323
buildSettings = {
324+
CLANG_ENABLE_MODULES = YES;
284325
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
285326
CLANG_WARN_SUSPICIOUS_MOVES = YES;
286327
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
@@ -290,13 +331,15 @@
290331
PRODUCT_BUNDLE_IDENTIFIER = "-.Tests";
291332
PRODUCT_NAME = "$(TARGET_NAME)";
292333
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
334+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
293335
SWIFT_VERSION = 2.3;
294336
};
295337
name = Debug;
296338
};
297339
7F5E6A711D7F08D2000B6076 /* Release */ = {
298340
isa = XCBuildConfiguration;
299341
buildSettings = {
342+
CLANG_ENABLE_MODULES = YES;
300343
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
301344
CLANG_WARN_SUSPICIOUS_MOVES = YES;
302345
FRAMEWORK_SEARCH_PATHS = "$(inherited)";

0 commit comments

Comments
 (0)