slather 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +30 -0
- data/README.md +1 -1
- data/lib/slather/command/coverage_command.rb +10 -4
- data/lib/slather/profdata_coverage_file.rb +32 -5
- data/lib/slather/project.rb +133 -45
- data/lib/slather/version.rb +1 -1
- data/spec/fixtures/fixtures.xcodeproj/project.pbxproj +106 -4
- data/spec/fixtures/fixtures.xcodeproj/xcshareddata/xcschemes/fixturesTwo.xcscheme +80 -0
- data/spec/fixtures/fixtures.xcworkspace/xcshareddata/xcschemes/fixturesTestsWorkspace.xcscheme +99 -0
- data/spec/fixtures/fixturesTests/fixturesTests.m +8 -0
- data/spec/fixtures/fixturesTwo/fixturesTwo.h +15 -0
- data/spec/fixtures/fixturesTwo/fixturesTwo.m +21 -0
- data/spec/fixtures/fixtures_html/Branches.m.html +4 -4
- data/spec/fixtures/fixtures_html/BranchesTests.m.html +4 -4
- data/spec/fixtures/fixtures_html/fixtures.m.html +4 -4
- data/spec/fixtures/fixtures_html/fixturesTests.m.html +78 -38
- data/spec/fixtures/fixtures_html/index.html +8 -8
- data/spec/fixtures/fixtures_html/peekaviewTests.m.html +4 -4
- data/spec/fixtures/gutter.json +1 -1
- data/spec/slather/coverage_service/simple_output_spec.rb +9 -6
- data/spec/slather/profdata_coverage_spec.rb +23 -5
- data/spec/slather/project_spec.rb +53 -7
- data/spec/spec_helper.rb +1 -1
- metadata +10 -2
data/lib/slather/version.rb
CHANGED
@@ -12,6 +12,9 @@
|
|
12
12
|
155BBCA819E9CCC500BACB13 /* BranchesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 155BBCA719E9CCC500BACB13 /* BranchesTests.m */; };
|
13
13
|
155D8AFE19FED984004666BA /* Empty.h in Headers */ = {isa = PBXBuildFile; fileRef = 155D8AFC19FED984004666BA /* Empty.h */; };
|
14
14
|
155D8AFF19FED984004666BA /* Empty.m in Sources */ = {isa = PBXBuildFile; fileRef = 155D8AFD19FED984004666BA /* Empty.m */; };
|
15
|
+
3773307C1CC42A58005EAF65 /* fixturesTwo.h in Headers */ = {isa = PBXBuildFile; fileRef = 3773307B1CC42A58005EAF65 /* fixturesTwo.h */; };
|
16
|
+
3773307E1CC42A58005EAF65 /* fixturesTwo.m in Sources */ = {isa = PBXBuildFile; fileRef = 3773307D1CC42A58005EAF65 /* fixturesTwo.m */; };
|
17
|
+
377330821CC42ABF005EAF65 /* libfixturesTwo.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 377330791CC42A58005EAF65 /* libfixturesTwo.dylib */; };
|
15
18
|
8C0F0B401ACF43A300793B7D /* fixtures_m.h in Headers */ = {isa = PBXBuildFile; fileRef = 8C0F0B3E1ACF43A300793B7D /* fixtures_m.h */; };
|
16
19
|
8C0F0B411ACF43A300793B7D /* fixtures_m.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C0F0B3F1ACF43A300793B7D /* fixtures_m.m */; };
|
17
20
|
8C0F0B441ACF44E000793B7D /* fixtures_cpp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8C0F0B421ACF44E000793B7D /* fixtures_cpp.cpp */; };
|
@@ -23,7 +26,6 @@
|
|
23
26
|
8C52AEFA195AAE70008A882A /* peekaviewTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C52AEF9195AAE70008A882A /* peekaviewTests.m */; };
|
24
27
|
8C9A2031195965F10013B6B3 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8C9A2030195965F10013B6B3 /* Cocoa.framework */; };
|
25
28
|
8C9A203B195965F10013B6B3 /* fixtures.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9A203A195965F10013B6B3 /* fixtures.m */; };
|
26
|
-
8C9A2042195965F10013B6B3 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8C9A2041195965F10013B6B3 /* XCTest.framework */; };
|
27
29
|
8C9A2043195965F10013B6B3 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8C9A2030195965F10013B6B3 /* Cocoa.framework */; };
|
28
30
|
8C9A2046195965F10013B6B3 /* libfixtures.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8C9A202D195965F10013B6B3 /* libfixtures.a */; };
|
29
31
|
8C9A204C195965F10013B6B3 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 8C9A204A195965F10013B6B3 /* InfoPlist.strings */; };
|
@@ -46,6 +48,9 @@
|
|
46
48
|
155BBCA719E9CCC500BACB13 /* BranchesTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BranchesTests.m; sourceTree = "<group>"; };
|
47
49
|
155D8AFC19FED984004666BA /* Empty.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Empty.h; sourceTree = "<group>"; };
|
48
50
|
155D8AFD19FED984004666BA /* Empty.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Empty.m; sourceTree = "<group>"; };
|
51
|
+
377330791CC42A58005EAF65 /* libfixturesTwo.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libfixturesTwo.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
|
52
|
+
3773307B1CC42A58005EAF65 /* fixturesTwo.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = fixturesTwo.h; sourceTree = "<group>"; };
|
53
|
+
3773307D1CC42A58005EAF65 /* fixturesTwo.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = fixturesTwo.m; sourceTree = "<group>"; };
|
49
54
|
8C0F0B3E1ACF43A300793B7D /* fixtures_m.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = fixtures_m.h; sourceTree = "<group>"; };
|
50
55
|
8C0F0B3F1ACF43A300793B7D /* fixtures_m.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = fixtures_m.m; sourceTree = "<group>"; };
|
51
56
|
8C0F0B421ACF44E000793B7D /* fixtures_cpp.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = fixtures_cpp.cpp; sourceTree = "<group>"; };
|
@@ -64,13 +69,19 @@
|
|
64
69
|
8C9A2039195965F10013B6B3 /* fixtures.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = fixtures.h; sourceTree = "<group>"; };
|
65
70
|
8C9A203A195965F10013B6B3 /* fixtures.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = fixtures.m; sourceTree = "<group>"; };
|
66
71
|
8C9A2040195965F10013B6B3 /* fixturesTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = fixturesTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
67
|
-
8C9A2041195965F10013B6B3 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
|
68
72
|
8C9A2049195965F10013B6B3 /* fixturesTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "fixturesTests-Info.plist"; sourceTree = "<group>"; };
|
69
73
|
8C9A204B195965F10013B6B3 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
70
74
|
8C9A204D195965F10013B6B3 /* fixturesTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = fixturesTests.m; sourceTree = "<group>"; };
|
71
75
|
/* End PBXFileReference section */
|
72
76
|
|
73
77
|
/* Begin PBXFrameworksBuildPhase section */
|
78
|
+
377330761CC42A58005EAF65 /* Frameworks */ = {
|
79
|
+
isa = PBXFrameworksBuildPhase;
|
80
|
+
buildActionMask = 2147483647;
|
81
|
+
files = (
|
82
|
+
);
|
83
|
+
runOnlyForDeploymentPostprocessing = 0;
|
84
|
+
};
|
74
85
|
8C9A202A195965F10013B6B3 /* Frameworks */ = {
|
75
86
|
isa = PBXFrameworksBuildPhase;
|
76
87
|
buildActionMask = 2147483647;
|
@@ -84,14 +95,23 @@
|
|
84
95
|
buildActionMask = 2147483647;
|
85
96
|
files = (
|
86
97
|
8C9A2046195965F10013B6B3 /* libfixtures.a in Frameworks */,
|
98
|
+
377330821CC42ABF005EAF65 /* libfixturesTwo.dylib in Frameworks */,
|
87
99
|
8C9A2043195965F10013B6B3 /* Cocoa.framework in Frameworks */,
|
88
|
-
8C9A2042195965F10013B6B3 /* XCTest.framework in Frameworks */,
|
89
100
|
);
|
90
101
|
runOnlyForDeploymentPostprocessing = 0;
|
91
102
|
};
|
92
103
|
/* End PBXFrameworksBuildPhase section */
|
93
104
|
|
94
105
|
/* Begin PBXGroup section */
|
106
|
+
3773307A1CC42A58005EAF65 /* fixturesTwo */ = {
|
107
|
+
isa = PBXGroup;
|
108
|
+
children = (
|
109
|
+
3773307B1CC42A58005EAF65 /* fixturesTwo.h */,
|
110
|
+
3773307D1CC42A58005EAF65 /* fixturesTwo.m */,
|
111
|
+
);
|
112
|
+
path = fixturesTwo;
|
113
|
+
sourceTree = "<group>";
|
114
|
+
};
|
95
115
|
8C52AEF4195AAE16008A882A /* more_files */ = {
|
96
116
|
isa = PBXGroup;
|
97
117
|
children = (
|
@@ -109,6 +129,7 @@
|
|
109
129
|
isa = PBXGroup;
|
110
130
|
children = (
|
111
131
|
8C9A2036195965F10013B6B3 /* fixtures */,
|
132
|
+
3773307A1CC42A58005EAF65 /* fixturesTwo */,
|
112
133
|
8C9A2047195965F10013B6B3 /* fixturesTests */,
|
113
134
|
8C9A202F195965F10013B6B3 /* Frameworks */,
|
114
135
|
8C9A202E195965F10013B6B3 /* Products */,
|
@@ -120,6 +141,7 @@
|
|
120
141
|
children = (
|
121
142
|
8C9A202D195965F10013B6B3 /* libfixtures.a */,
|
122
143
|
8C9A2040195965F10013B6B3 /* fixturesTests.xctest */,
|
144
|
+
377330791CC42A58005EAF65 /* libfixturesTwo.dylib */,
|
123
145
|
);
|
124
146
|
name = Products;
|
125
147
|
sourceTree = "<group>";
|
@@ -128,7 +150,6 @@
|
|
128
150
|
isa = PBXGroup;
|
129
151
|
children = (
|
130
152
|
8C9A2030195965F10013B6B3 /* Cocoa.framework */,
|
131
|
-
8C9A2041195965F10013B6B3 /* XCTest.framework */,
|
132
153
|
8C9A2032195965F10013B6B3 /* Other Frameworks */,
|
133
154
|
);
|
134
155
|
name = Frameworks;
|
@@ -192,6 +213,14 @@
|
|
192
213
|
/* End PBXGroup section */
|
193
214
|
|
194
215
|
/* Begin PBXHeadersBuildPhase section */
|
216
|
+
377330771CC42A58005EAF65 /* Headers */ = {
|
217
|
+
isa = PBXHeadersBuildPhase;
|
218
|
+
buildActionMask = 2147483647;
|
219
|
+
files = (
|
220
|
+
3773307C1CC42A58005EAF65 /* fixturesTwo.h in Headers */,
|
221
|
+
);
|
222
|
+
runOnlyForDeploymentPostprocessing = 0;
|
223
|
+
};
|
195
224
|
8C9A202B195965F10013B6B3 /* Headers */ = {
|
196
225
|
isa = PBXHeadersBuildPhase;
|
197
226
|
buildActionMask = 2147483647;
|
@@ -208,6 +237,23 @@
|
|
208
237
|
/* End PBXHeadersBuildPhase section */
|
209
238
|
|
210
239
|
/* Begin PBXNativeTarget section */
|
240
|
+
377330781CC42A58005EAF65 /* fixturesTwo */ = {
|
241
|
+
isa = PBXNativeTarget;
|
242
|
+
buildConfigurationList = 3773307F1CC42A58005EAF65 /* Build configuration list for PBXNativeTarget "fixturesTwo" */;
|
243
|
+
buildPhases = (
|
244
|
+
377330751CC42A58005EAF65 /* Sources */,
|
245
|
+
377330761CC42A58005EAF65 /* Frameworks */,
|
246
|
+
377330771CC42A58005EAF65 /* Headers */,
|
247
|
+
);
|
248
|
+
buildRules = (
|
249
|
+
);
|
250
|
+
dependencies = (
|
251
|
+
);
|
252
|
+
name = fixturesTwo;
|
253
|
+
productName = fixturesTwo;
|
254
|
+
productReference = 377330791CC42A58005EAF65 /* libfixturesTwo.dylib */;
|
255
|
+
productType = "com.apple.product-type.library.dynamic";
|
256
|
+
};
|
211
257
|
8C9A202C195965F10013B6B3 /* fixtures */ = {
|
212
258
|
isa = PBXNativeTarget;
|
213
259
|
buildConfigurationList = 8C9A2051195965F10013B6B3 /* Build configuration list for PBXNativeTarget "fixtures" */;
|
@@ -251,6 +297,11 @@
|
|
251
297
|
attributes = {
|
252
298
|
LastUpgradeCheck = 0510;
|
253
299
|
ORGANIZATIONNAME = marklarr;
|
300
|
+
TargetAttributes = {
|
301
|
+
377330781CC42A58005EAF65 = {
|
302
|
+
CreatedOnToolsVersion = 7.3;
|
303
|
+
};
|
304
|
+
};
|
254
305
|
};
|
255
306
|
buildConfigurationList = 8C9A2028195965F00013B6B3 /* Build configuration list for PBXProject "fixtures" */;
|
256
307
|
compatibilityVersion = "Xcode 3.2";
|
@@ -265,6 +316,7 @@
|
|
265
316
|
projectRoot = "";
|
266
317
|
targets = (
|
267
318
|
8C9A202C195965F10013B6B3 /* fixtures */,
|
319
|
+
377330781CC42A58005EAF65 /* fixturesTwo */,
|
268
320
|
8C9A203F195965F10013B6B3 /* fixturesTests */,
|
269
321
|
);
|
270
322
|
};
|
@@ -282,6 +334,14 @@
|
|
282
334
|
/* End PBXResourcesBuildPhase section */
|
283
335
|
|
284
336
|
/* Begin PBXSourcesBuildPhase section */
|
337
|
+
377330751CC42A58005EAF65 /* Sources */ = {
|
338
|
+
isa = PBXSourcesBuildPhase;
|
339
|
+
buildActionMask = 2147483647;
|
340
|
+
files = (
|
341
|
+
3773307E1CC42A58005EAF65 /* fixturesTwo.m in Sources */,
|
342
|
+
);
|
343
|
+
runOnlyForDeploymentPostprocessing = 0;
|
344
|
+
};
|
285
345
|
8C9A2029195965F10013B6B3 /* Sources */ = {
|
286
346
|
isa = PBXSourcesBuildPhase;
|
287
347
|
buildActionMask = 2147483647;
|
@@ -328,6 +388,38 @@
|
|
328
388
|
/* End PBXVariantGroup section */
|
329
389
|
|
330
390
|
/* Begin XCBuildConfiguration section */
|
391
|
+
377330801CC42A58005EAF65 /* Debug */ = {
|
392
|
+
isa = XCBuildConfiguration;
|
393
|
+
buildSettings = {
|
394
|
+
CLANG_ANALYZER_NONNULL = YES;
|
395
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
396
|
+
DYLIB_COMPATIBILITY_VERSION = 1;
|
397
|
+
DYLIB_CURRENT_VERSION = 1;
|
398
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
399
|
+
ENABLE_TESTABILITY = YES;
|
400
|
+
EXECUTABLE_PREFIX = lib;
|
401
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
402
|
+
MTL_ENABLE_DEBUG_INFO = YES;
|
403
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
404
|
+
};
|
405
|
+
name = Debug;
|
406
|
+
};
|
407
|
+
377330811CC42A58005EAF65 /* Release */ = {
|
408
|
+
isa = XCBuildConfiguration;
|
409
|
+
buildSettings = {
|
410
|
+
CLANG_ANALYZER_NONNULL = YES;
|
411
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
412
|
+
COPY_PHASE_STRIP = NO;
|
413
|
+
DYLIB_COMPATIBILITY_VERSION = 1;
|
414
|
+
DYLIB_CURRENT_VERSION = 1;
|
415
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
416
|
+
EXECUTABLE_PREFIX = lib;
|
417
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
418
|
+
MTL_ENABLE_DEBUG_INFO = NO;
|
419
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
420
|
+
};
|
421
|
+
name = Release;
|
422
|
+
};
|
331
423
|
8C9A204F195965F10013B6B3 /* Debug */ = {
|
332
424
|
isa = XCBuildConfiguration;
|
333
425
|
buildSettings = {
|
@@ -345,6 +437,7 @@
|
|
345
437
|
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
346
438
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
347
439
|
COPY_PHASE_STRIP = NO;
|
440
|
+
DEBUG_INFORMATION_FORMAT = dwarf;
|
348
441
|
GCC_C_LANGUAGE_STANDARD = gnu99;
|
349
442
|
GCC_DYNAMIC_NO_PIC = NO;
|
350
443
|
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
|
@@ -463,6 +556,15 @@
|
|
463
556
|
/* End XCBuildConfiguration section */
|
464
557
|
|
465
558
|
/* Begin XCConfigurationList section */
|
559
|
+
3773307F1CC42A58005EAF65 /* Build configuration list for PBXNativeTarget "fixturesTwo" */ = {
|
560
|
+
isa = XCConfigurationList;
|
561
|
+
buildConfigurations = (
|
562
|
+
377330801CC42A58005EAF65 /* Debug */,
|
563
|
+
377330811CC42A58005EAF65 /* Release */,
|
564
|
+
);
|
565
|
+
defaultConfigurationIsVisible = 0;
|
566
|
+
defaultConfigurationName = Release;
|
567
|
+
};
|
466
568
|
8C9A2028195965F00013B6B3 /* Build configuration list for PBXProject "fixtures" */ = {
|
467
569
|
isa = XCConfigurationList;
|
468
570
|
buildConfigurations = (
|
@@ -0,0 +1,80 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Scheme
|
3
|
+
LastUpgradeVersion = "0730"
|
4
|
+
version = "1.3">
|
5
|
+
<BuildAction
|
6
|
+
parallelizeBuildables = "YES"
|
7
|
+
buildImplicitDependencies = "YES">
|
8
|
+
<BuildActionEntries>
|
9
|
+
<BuildActionEntry
|
10
|
+
buildForTesting = "YES"
|
11
|
+
buildForRunning = "YES"
|
12
|
+
buildForProfiling = "YES"
|
13
|
+
buildForArchiving = "YES"
|
14
|
+
buildForAnalyzing = "YES">
|
15
|
+
<BuildableReference
|
16
|
+
BuildableIdentifier = "primary"
|
17
|
+
BlueprintIdentifier = "377330781CC42A58005EAF65"
|
18
|
+
BuildableName = "libfixturesTwo.dylib"
|
19
|
+
BlueprintName = "fixturesTwo"
|
20
|
+
ReferencedContainer = "container:fixtures.xcodeproj">
|
21
|
+
</BuildableReference>
|
22
|
+
</BuildActionEntry>
|
23
|
+
</BuildActionEntries>
|
24
|
+
</BuildAction>
|
25
|
+
<TestAction
|
26
|
+
buildConfiguration = "Debug"
|
27
|
+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
28
|
+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
29
|
+
shouldUseLaunchSchemeArgsEnv = "YES">
|
30
|
+
<Testables>
|
31
|
+
</Testables>
|
32
|
+
<AdditionalOptions>
|
33
|
+
</AdditionalOptions>
|
34
|
+
</TestAction>
|
35
|
+
<LaunchAction
|
36
|
+
buildConfiguration = "Debug"
|
37
|
+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
38
|
+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
39
|
+
launchStyle = "0"
|
40
|
+
useCustomWorkingDirectory = "NO"
|
41
|
+
ignoresPersistentStateOnLaunch = "NO"
|
42
|
+
debugDocumentVersioning = "YES"
|
43
|
+
debugServiceExtension = "internal"
|
44
|
+
allowLocationSimulation = "YES">
|
45
|
+
<MacroExpansion>
|
46
|
+
<BuildableReference
|
47
|
+
BuildableIdentifier = "primary"
|
48
|
+
BlueprintIdentifier = "377330781CC42A58005EAF65"
|
49
|
+
BuildableName = "libfixturesTwo.dylib"
|
50
|
+
BlueprintName = "fixturesTwo"
|
51
|
+
ReferencedContainer = "container:fixtures.xcodeproj">
|
52
|
+
</BuildableReference>
|
53
|
+
</MacroExpansion>
|
54
|
+
<AdditionalOptions>
|
55
|
+
</AdditionalOptions>
|
56
|
+
</LaunchAction>
|
57
|
+
<ProfileAction
|
58
|
+
buildConfiguration = "Release"
|
59
|
+
shouldUseLaunchSchemeArgsEnv = "YES"
|
60
|
+
savedToolIdentifier = ""
|
61
|
+
useCustomWorkingDirectory = "NO"
|
62
|
+
debugDocumentVersioning = "YES">
|
63
|
+
<MacroExpansion>
|
64
|
+
<BuildableReference
|
65
|
+
BuildableIdentifier = "primary"
|
66
|
+
BlueprintIdentifier = "377330781CC42A58005EAF65"
|
67
|
+
BuildableName = "libfixturesTwo.dylib"
|
68
|
+
BlueprintName = "fixturesTwo"
|
69
|
+
ReferencedContainer = "container:fixtures.xcodeproj">
|
70
|
+
</BuildableReference>
|
71
|
+
</MacroExpansion>
|
72
|
+
</ProfileAction>
|
73
|
+
<AnalyzeAction
|
74
|
+
buildConfiguration = "Debug">
|
75
|
+
</AnalyzeAction>
|
76
|
+
<ArchiveAction
|
77
|
+
buildConfiguration = "Release"
|
78
|
+
revealArchiveInOrganizer = "YES">
|
79
|
+
</ArchiveAction>
|
80
|
+
</Scheme>
|
data/spec/fixtures/fixtures.xcworkspace/xcshareddata/xcschemes/fixturesTestsWorkspace.xcscheme
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Scheme
|
3
|
+
LastUpgradeVersion = "0730"
|
4
|
+
version = "1.3">
|
5
|
+
<BuildAction
|
6
|
+
parallelizeBuildables = "YES"
|
7
|
+
buildImplicitDependencies = "YES">
|
8
|
+
<BuildActionEntries>
|
9
|
+
<BuildActionEntry
|
10
|
+
buildForTesting = "YES"
|
11
|
+
buildForRunning = "YES"
|
12
|
+
buildForProfiling = "YES"
|
13
|
+
buildForArchiving = "YES"
|
14
|
+
buildForAnalyzing = "YES">
|
15
|
+
<BuildableReference
|
16
|
+
BuildableIdentifier = "primary"
|
17
|
+
BlueprintIdentifier = "8C9A202C195965F10013B6B3"
|
18
|
+
BuildableName = "libfixtures.a"
|
19
|
+
BlueprintName = "fixtures"
|
20
|
+
ReferencedContainer = "container:fixtures.xcodeproj">
|
21
|
+
</BuildableReference>
|
22
|
+
</BuildActionEntry>
|
23
|
+
</BuildActionEntries>
|
24
|
+
</BuildAction>
|
25
|
+
<TestAction
|
26
|
+
buildConfiguration = "Debug"
|
27
|
+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
28
|
+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
29
|
+
shouldUseLaunchSchemeArgsEnv = "YES">
|
30
|
+
<Testables>
|
31
|
+
<TestableReference
|
32
|
+
skipped = "NO">
|
33
|
+
<BuildableReference
|
34
|
+
BuildableIdentifier = "primary"
|
35
|
+
BlueprintIdentifier = "8C9A203F195965F10013B6B3"
|
36
|
+
BuildableName = "fixturesTests.xctest"
|
37
|
+
BlueprintName = "fixturesTests"
|
38
|
+
ReferencedContainer = "container:fixtures.xcodeproj">
|
39
|
+
</BuildableReference>
|
40
|
+
</TestableReference>
|
41
|
+
</Testables>
|
42
|
+
<MacroExpansion>
|
43
|
+
<BuildableReference
|
44
|
+
BuildableIdentifier = "primary"
|
45
|
+
BlueprintIdentifier = "8C9A202C195965F10013B6B3"
|
46
|
+
BuildableName = "libfixtures.a"
|
47
|
+
BlueprintName = "fixtures"
|
48
|
+
ReferencedContainer = "container:fixtures.xcodeproj">
|
49
|
+
</BuildableReference>
|
50
|
+
</MacroExpansion>
|
51
|
+
<AdditionalOptions>
|
52
|
+
</AdditionalOptions>
|
53
|
+
</TestAction>
|
54
|
+
<LaunchAction
|
55
|
+
buildConfiguration = "Debug"
|
56
|
+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
57
|
+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
58
|
+
launchStyle = "0"
|
59
|
+
useCustomWorkingDirectory = "NO"
|
60
|
+
ignoresPersistentStateOnLaunch = "NO"
|
61
|
+
debugDocumentVersioning = "YES"
|
62
|
+
debugServiceExtension = "internal"
|
63
|
+
allowLocationSimulation = "YES">
|
64
|
+
<MacroExpansion>
|
65
|
+
<BuildableReference
|
66
|
+
BuildableIdentifier = "primary"
|
67
|
+
BlueprintIdentifier = "8C9A202C195965F10013B6B3"
|
68
|
+
BuildableName = "libfixtures.a"
|
69
|
+
BlueprintName = "fixtures"
|
70
|
+
ReferencedContainer = "container:fixtures.xcodeproj">
|
71
|
+
</BuildableReference>
|
72
|
+
</MacroExpansion>
|
73
|
+
<AdditionalOptions>
|
74
|
+
</AdditionalOptions>
|
75
|
+
</LaunchAction>
|
76
|
+
<ProfileAction
|
77
|
+
buildConfiguration = "Release"
|
78
|
+
shouldUseLaunchSchemeArgsEnv = "YES"
|
79
|
+
savedToolIdentifier = ""
|
80
|
+
useCustomWorkingDirectory = "NO"
|
81
|
+
debugDocumentVersioning = "YES">
|
82
|
+
<MacroExpansion>
|
83
|
+
<BuildableReference
|
84
|
+
BuildableIdentifier = "primary"
|
85
|
+
BlueprintIdentifier = "8C9A202C195965F10013B6B3"
|
86
|
+
BuildableName = "libfixtures.a"
|
87
|
+
BlueprintName = "fixtures"
|
88
|
+
ReferencedContainer = "container:fixtures.xcodeproj">
|
89
|
+
</BuildableReference>
|
90
|
+
</MacroExpansion>
|
91
|
+
</ProfileAction>
|
92
|
+
<AnalyzeAction
|
93
|
+
buildConfiguration = "Debug">
|
94
|
+
</AnalyzeAction>
|
95
|
+
<ArchiveAction
|
96
|
+
buildConfiguration = "Release"
|
97
|
+
revealArchiveInOrganizer = "YES">
|
98
|
+
</ArchiveAction>
|
99
|
+
</Scheme>
|
@@ -8,6 +8,7 @@
|
|
8
8
|
|
9
9
|
#import <XCTest/XCTest.h>
|
10
10
|
#import "fixtures.h"
|
11
|
+
#import "fixturesTwo.h"
|
11
12
|
|
12
13
|
@interface fixturesTests : XCTestCase
|
13
14
|
|
@@ -33,4 +34,11 @@
|
|
33
34
|
[f testedMethod];
|
34
35
|
}
|
35
36
|
|
37
|
+
- (void)testFixturesTwo
|
38
|
+
{
|
39
|
+
fixturesTwo *f2 = [[fixturesTwo alloc] init];
|
40
|
+
|
41
|
+
XCTAssertEqual([f2 doSomething], 11);
|
42
|
+
}
|
43
|
+
|
36
44
|
@end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
//
|
2
|
+
// fixturesTwo.h
|
3
|
+
// fixturesTwo
|
4
|
+
//
|
5
|
+
// Created by Kent Sutherland on 4/17/16.
|
6
|
+
// Copyright © 2016 marklarr. All rights reserved.
|
7
|
+
//
|
8
|
+
|
9
|
+
#import <Foundation/Foundation.h>
|
10
|
+
|
11
|
+
@interface fixturesTwo : NSObject
|
12
|
+
|
13
|
+
- (NSInteger)doSomething;
|
14
|
+
|
15
|
+
@end
|