iut 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/iut/generator.rb +32 -1
- data/lib/iut/version.rb +1 -1
- data/lib/iut.rb +3 -0
- data/template/project/iUnitTest/{iUnitTest.xcodeproj → TEST_PROJECT.xcodeproj}/project.pbxproj +20 -28
- data/template/project/iUnitTest/iUnitTest/{iUnitTest-Info.plist → TEST_PROJECT-Info.plist} +0 -0
- data/template/project/iUnitTest/iUnitTest/{iUnitTest-Prefix.pch → TEST_PROJECT-Prefix.pch} +0 -0
- data/template/project/iUnitTest/iUnitTest/iunittest/IUTMainWindow.xib +32 -321
- metadata +5 -5
data/lib/iut/generator.rb
CHANGED
@@ -11,13 +11,44 @@ module Iut
|
|
11
11
|
module Project
|
12
12
|
|
13
13
|
def self.generate
|
14
|
+
project_name = ARGV[0]
|
14
15
|
src = File.join(TEMPLATE_PATH, "project", "iUnitTest")
|
15
16
|
dst = File.join(File.expand_path("./"), ARGV[0])
|
16
17
|
if File.exists?(dst)
|
17
|
-
puts "#{
|
18
|
+
puts "#{project_name}: File exists"
|
18
19
|
exit
|
19
20
|
end
|
20
21
|
FileUtils.cp_r src, dst
|
22
|
+
|
23
|
+
Dir.chdir dst do
|
24
|
+
|
25
|
+
# rename files
|
26
|
+
replace_file_patterns = {
|
27
|
+
"TEST_PROJECT.xcodeproj" => "#{project_name}.xcodeproj",
|
28
|
+
"iUnitTest/TEST_PROJECT-info.plist" => "iUnitTest/#{project_name}-info.plist",
|
29
|
+
"iUnitTest/TEST_PROJECT-Prefix.pch" => "iUnitTest/#{project_name}-Prefix.pch"
|
30
|
+
}
|
31
|
+
replace_file_patterns.each do |k, v|
|
32
|
+
FileUtils.mv k, v
|
33
|
+
end
|
34
|
+
|
35
|
+
# replace project setting
|
36
|
+
project_file_name = "#{project_name}.xcodeproj/project.pbxproj"
|
37
|
+
project = File.read project_file_name
|
38
|
+
project.gsub!("TEST_PROJECT", project_name);
|
39
|
+
File.open(project_file_name, "w") do |f|
|
40
|
+
f.write project
|
41
|
+
end
|
42
|
+
|
43
|
+
# remove user file
|
44
|
+
[
|
45
|
+
"#{project_name}.xcodeproj/xcuserdata",
|
46
|
+
"#{project_name}.xcodeproj/project.xcworkspace"
|
47
|
+
].each do |f|
|
48
|
+
FileUtils.rm_r f if File.exists? f
|
49
|
+
end
|
50
|
+
|
51
|
+
end
|
21
52
|
end
|
22
53
|
|
23
54
|
end
|
data/lib/iut/version.rb
CHANGED
data/lib/iut.rb
CHANGED
data/template/project/iUnitTest/{iUnitTest.xcodeproj → TEST_PROJECT.xcodeproj}/project.pbxproj
RENAMED
@@ -41,19 +41,17 @@
|
|
41
41
|
469B334114B42F420041CAF8 /* SourceCodeOpener.m in Sources */ = {isa = PBXBuildFile; fileRef = 469B332514B42F420041CAF8 /* SourceCodeOpener.m */; };
|
42
42
|
469B334714B431B00041CAF8 /* IUTMainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 469B334614B431B00041CAF8 /* IUTMainWindow.xib */; };
|
43
43
|
469B334A14B432260041CAF8 /* IUTAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 469B334914B432250041CAF8 /* IUTAppDelegate.m */; };
|
44
|
-
469B335314B438710041CAF8 /* .do_not_remove_this_directory in Resources */ = {isa = PBXBuildFile; fileRef = 469B335014B438710041CAF8 /* .do_not_remove_this_directory */; };
|
45
|
-
469B335414B438710041CAF8 /* .do_not_remove_this_directory in Resources */ = {isa = PBXBuildFile; fileRef = 469B335214B438710041CAF8 /* .do_not_remove_this_directory */; };
|
46
44
|
/* End PBXBuildFile section */
|
47
45
|
|
48
46
|
/* Begin PBXFileReference section */
|
49
|
-
469B32D114B42CFF0041CAF8 /*
|
47
|
+
469B32D114B42CFF0041CAF8 /* TEST_PROJECT.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TEST_PROJECT.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
50
48
|
469B32D514B42CFF0041CAF8 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
51
49
|
469B32D714B42CFF0041CAF8 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
52
50
|
469B32D914B42CFF0041CAF8 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
|
53
|
-
469B32DD14B42CFF0041CAF8 /*
|
51
|
+
469B32DD14B42CFF0041CAF8 /* TEST_PROJECT-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "TEST_PROJECT-Info.plist"; sourceTree = "<group>"; };
|
54
52
|
469B32DF14B42CFF0041CAF8 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
55
53
|
469B32E114B42CFF0041CAF8 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
56
|
-
469B32E314B42CFF0041CAF8 /*
|
54
|
+
469B32E314B42CFF0041CAF8 /* TEST_PROJECT-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "TEST_PROJECT-Prefix.pch"; sourceTree = "<group>"; };
|
57
55
|
469B32F114B42F420041CAF8 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
|
58
56
|
469B32F214B42F420041CAF8 /* isd_logo_60x40.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = isd_logo_60x40.png; sourceTree = "<group>"; };
|
59
57
|
469B32F314B42F420041CAF8 /* isd_logo_60x40_w.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = isd_logo_60x40_w.png; sourceTree = "<group>"; };
|
@@ -108,8 +106,6 @@
|
|
108
106
|
469B334614B431B00041CAF8 /* IUTMainWindow.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = IUTMainWindow.xib; sourceTree = "<group>"; };
|
109
107
|
469B334814B432250041CAF8 /* IUTAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IUTAppDelegate.h; sourceTree = "<group>"; };
|
110
108
|
469B334914B432250041CAF8 /* IUTAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = IUTAppDelegate.m; sourceTree = "<group>"; };
|
111
|
-
469B335014B438710041CAF8 /* .do_not_remove_this_directory */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .do_not_remove_this_directory; sourceTree = "<group>"; };
|
112
|
-
469B335214B438710041CAF8 /* .do_not_remove_this_directory */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .do_not_remove_this_directory; sourceTree = "<group>"; };
|
113
109
|
/* End PBXFileReference section */
|
114
110
|
|
115
111
|
/* Begin PBXFrameworksBuildPhase section */
|
@@ -138,7 +134,7 @@
|
|
138
134
|
469B32D214B42CFF0041CAF8 /* Products */ = {
|
139
135
|
isa = PBXGroup;
|
140
136
|
children = (
|
141
|
-
469B32D114B42CFF0041CAF8 /*
|
137
|
+
469B32D114B42CFF0041CAF8 /* TEST_PROJECT.app */,
|
142
138
|
);
|
143
139
|
name = Products;
|
144
140
|
sourceTree = "<group>";
|
@@ -167,10 +163,10 @@
|
|
167
163
|
469B32DC14B42CFF0041CAF8 /* Supporting Files */ = {
|
168
164
|
isa = PBXGroup;
|
169
165
|
children = (
|
170
|
-
469B32DD14B42CFF0041CAF8 /*
|
166
|
+
469B32DD14B42CFF0041CAF8 /* TEST_PROJECT-Info.plist */,
|
171
167
|
469B32DE14B42CFF0041CAF8 /* InfoPlist.strings */,
|
172
168
|
469B32E114B42CFF0041CAF8 /* main.m */,
|
173
|
-
469B32E314B42CFF0041CAF8 /*
|
169
|
+
469B32E314B42CFF0041CAF8 /* TEST_PROJECT-Prefix.pch */,
|
174
170
|
);
|
175
171
|
name = "Supporting Files";
|
176
172
|
sourceTree = "<group>";
|
@@ -264,7 +260,6 @@
|
|
264
260
|
469B334F14B438710041CAF8 /* Classes */ = {
|
265
261
|
isa = PBXGroup;
|
266
262
|
children = (
|
267
|
-
469B335014B438710041CAF8 /* .do_not_remove_this_directory */,
|
268
263
|
);
|
269
264
|
path = Classes;
|
270
265
|
sourceTree = "<group>";
|
@@ -272,7 +267,6 @@
|
|
272
267
|
469B335114B438710041CAF8 /* Tests */ = {
|
273
268
|
isa = PBXGroup;
|
274
269
|
children = (
|
275
|
-
469B335214B438710041CAF8 /* .do_not_remove_this_directory */,
|
276
270
|
);
|
277
271
|
path = Tests;
|
278
272
|
sourceTree = "<group>";
|
@@ -280,9 +274,9 @@
|
|
280
274
|
/* End PBXGroup section */
|
281
275
|
|
282
276
|
/* Begin PBXNativeTarget section */
|
283
|
-
469B32D014B42CFF0041CAF8 /*
|
277
|
+
469B32D014B42CFF0041CAF8 /* TEST_PROJECT */ = {
|
284
278
|
isa = PBXNativeTarget;
|
285
|
-
buildConfigurationList = 469B32E914B42CFF0041CAF8 /* Build configuration list for PBXNativeTarget "
|
279
|
+
buildConfigurationList = 469B32E914B42CFF0041CAF8 /* Build configuration list for PBXNativeTarget "TEST_PROJECT" */;
|
286
280
|
buildPhases = (
|
287
281
|
469B32CD14B42CFF0041CAF8 /* Sources */,
|
288
282
|
469B32CE14B42CFF0041CAF8 /* Frameworks */,
|
@@ -292,9 +286,9 @@
|
|
292
286
|
);
|
293
287
|
dependencies = (
|
294
288
|
);
|
295
|
-
name =
|
289
|
+
name = TEST_PROJECT;
|
296
290
|
productName = iUnitTest;
|
297
|
-
productReference = 469B32D114B42CFF0041CAF8 /*
|
291
|
+
productReference = 469B32D114B42CFF0041CAF8 /* TEST_PROJECT.app */;
|
298
292
|
productType = "com.apple.product-type.application";
|
299
293
|
};
|
300
294
|
/* End PBXNativeTarget section */
|
@@ -306,7 +300,7 @@
|
|
306
300
|
LastUpgradeCheck = 0420;
|
307
301
|
ORGANIZATIONNAME = "ITO SOFT DESIGN Inc.";
|
308
302
|
};
|
309
|
-
buildConfigurationList = 469B32CB14B42CFF0041CAF8 /* Build configuration list for PBXProject "
|
303
|
+
buildConfigurationList = 469B32CB14B42CFF0041CAF8 /* Build configuration list for PBXProject "TEST_PROJECT" */;
|
310
304
|
compatibilityVersion = "Xcode 3.2";
|
311
305
|
developmentRegion = English;
|
312
306
|
hasScannedForEncodings = 0;
|
@@ -318,7 +312,7 @@
|
|
318
312
|
projectDirPath = "";
|
319
313
|
projectRoot = "";
|
320
314
|
targets = (
|
321
|
-
469B32D014B42CFF0041CAF8 /*
|
315
|
+
469B32D014B42CFF0041CAF8 /* TEST_PROJECT */,
|
322
316
|
);
|
323
317
|
};
|
324
318
|
/* End PBXProject section */
|
@@ -337,8 +331,6 @@
|
|
337
331
|
469B332C14B42F420041CAF8 /* IUTTestView.xib in Resources */,
|
338
332
|
469B332D14B42F420041CAF8 /* Settings.bundle in Resources */,
|
339
333
|
469B334714B431B00041CAF8 /* IUTMainWindow.xib in Resources */,
|
340
|
-
469B335314B438710041CAF8 /* .do_not_remove_this_directory in Resources */,
|
341
|
-
469B335414B438710041CAF8 /* .do_not_remove_this_directory in Resources */,
|
342
334
|
);
|
343
335
|
runOnlyForDeploymentPostprocessing = 0;
|
344
336
|
};
|
@@ -435,9 +427,9 @@
|
|
435
427
|
isa = XCBuildConfiguration;
|
436
428
|
buildSettings = {
|
437
429
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
438
|
-
GCC_PREFIX_HEADER = "iUnitTest/
|
439
|
-
INFOPLIST_FILE = "iUnitTest/
|
440
|
-
PRODUCT_NAME =
|
430
|
+
GCC_PREFIX_HEADER = "iUnitTest/TEST_PROJECT-Prefix.pch";
|
431
|
+
INFOPLIST_FILE = "iUnitTest/TEST_PROJECT-Info.plist";
|
432
|
+
PRODUCT_NAME = TEST_PROJECT;
|
441
433
|
WRAPPER_EXTENSION = app;
|
442
434
|
};
|
443
435
|
name = Debug;
|
@@ -446,9 +438,9 @@
|
|
446
438
|
isa = XCBuildConfiguration;
|
447
439
|
buildSettings = {
|
448
440
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
449
|
-
GCC_PREFIX_HEADER = "iUnitTest/
|
450
|
-
INFOPLIST_FILE = "iUnitTest/
|
451
|
-
PRODUCT_NAME =
|
441
|
+
GCC_PREFIX_HEADER = "iUnitTest/TEST_PROJECT-Prefix.pch";
|
442
|
+
INFOPLIST_FILE = "iUnitTest/TEST_PROJECT-Info.plist";
|
443
|
+
PRODUCT_NAME = TEST_PROJECT;
|
452
444
|
WRAPPER_EXTENSION = app;
|
453
445
|
};
|
454
446
|
name = Release;
|
@@ -456,7 +448,7 @@
|
|
456
448
|
/* End XCBuildConfiguration section */
|
457
449
|
|
458
450
|
/* Begin XCConfigurationList section */
|
459
|
-
469B32CB14B42CFF0041CAF8 /* Build configuration list for PBXProject "
|
451
|
+
469B32CB14B42CFF0041CAF8 /* Build configuration list for PBXProject "TEST_PROJECT" */ = {
|
460
452
|
isa = XCConfigurationList;
|
461
453
|
buildConfigurations = (
|
462
454
|
469B32E714B42CFF0041CAF8 /* Debug */,
|
@@ -465,7 +457,7 @@
|
|
465
457
|
defaultConfigurationIsVisible = 0;
|
466
458
|
defaultConfigurationName = Release;
|
467
459
|
};
|
468
|
-
469B32E914B42CFF0041CAF8 /* Build configuration list for PBXNativeTarget "
|
460
|
+
469B32E914B42CFF0041CAF8 /* Build configuration list for PBXNativeTarget "TEST_PROJECT" */ = {
|
469
461
|
isa = XCConfigurationList;
|
470
462
|
buildConfigurations = (
|
471
463
|
469B32EA14B42CFF0041CAF8 /* Debug */,
|
File without changes
|
File without changes
|
@@ -2,29 +2,31 @@
|
|
2
2
|
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
|
3
3
|
<data>
|
4
4
|
<int key="IBDocument.SystemTarget">528</int>
|
5
|
-
<string key="IBDocument.SystemVersion">
|
6
|
-
<string key="IBDocument.InterfaceBuilderVersion">
|
7
|
-
<string key="IBDocument.AppKitVersion">
|
8
|
-
<string key="IBDocument.HIToolboxVersion">
|
5
|
+
<string key="IBDocument.SystemVersion">11C74</string>
|
6
|
+
<string key="IBDocument.InterfaceBuilderVersion">1938</string>
|
7
|
+
<string key="IBDocument.AppKitVersion">1138.23</string>
|
8
|
+
<string key="IBDocument.HIToolboxVersion">567.00</string>
|
9
9
|
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
10
10
|
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
11
|
-
<string key="NS.object.0">
|
11
|
+
<string key="NS.object.0">933</string>
|
12
12
|
</object>
|
13
|
-
<object class="
|
13
|
+
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
|
14
14
|
<bool key="EncodedWithXMLCoder">YES</bool>
|
15
|
+
<string>IBProxyObject</string>
|
16
|
+
<string>IBUINavigationController</string>
|
17
|
+
<string>IBUIViewController</string>
|
18
|
+
<string>IBUICustomObject</string>
|
19
|
+
<string>IBUIWindow</string>
|
20
|
+
<string>IBUINavigationBar</string>
|
21
|
+
<string>IBUINavigationItem</string>
|
15
22
|
</object>
|
16
23
|
<object class="NSArray" key="IBDocument.PluginDependencies">
|
17
24
|
<bool key="EncodedWithXMLCoder">YES</bool>
|
18
25
|
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
19
26
|
</object>
|
20
27
|
<object class="NSMutableDictionary" key="IBDocument.Metadata">
|
21
|
-
<
|
22
|
-
<
|
23
|
-
<bool key="EncodedWithXMLCoder">YES</bool>
|
24
|
-
</object>
|
25
|
-
<object class="NSMutableArray" key="dict.values">
|
26
|
-
<bool key="EncodedWithXMLCoder">YES</bool>
|
27
|
-
</object>
|
28
|
+
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
|
29
|
+
<integer value="1" key="NS.object.0"/>
|
28
30
|
</object>
|
29
31
|
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
|
30
32
|
<bool key="EncodedWithXMLCoder">YES</bool>
|
@@ -59,6 +61,7 @@
|
|
59
61
|
</object>
|
60
62
|
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
|
61
63
|
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
|
64
|
+
<int key="IBUIInterfaceOrientation">1</int>
|
62
65
|
<int key="interfaceOrientation">1</int>
|
63
66
|
</object>
|
64
67
|
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
@@ -76,12 +79,13 @@
|
|
76
79
|
<bool key="EncodedWithXMLCoder">YES</bool>
|
77
80
|
<object class="IBUIViewController" id="826589304">
|
78
81
|
<object class="IBUINavigationItem" key="IBUINavigationItem" id="34768728">
|
79
|
-
<string key="IBUITitle">
|
82
|
+
<string key="IBUITitle">TEST_PROJECT</string>
|
80
83
|
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
81
84
|
</object>
|
82
85
|
<reference key="IBUIParentViewController" ref="559144592"/>
|
83
86
|
<string key="IBUINibName">IUTTestView</string>
|
84
87
|
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
|
88
|
+
<int key="IBUIInterfaceOrientation">1</int>
|
85
89
|
<int key="interfaceOrientation">1</int>
|
86
90
|
</object>
|
87
91
|
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
@@ -123,7 +127,9 @@
|
|
123
127
|
<bool key="EncodedWithXMLCoder">YES</bool>
|
124
128
|
<object class="IBObjectRecord">
|
125
129
|
<int key="objectID">0</int>
|
126
|
-
<
|
130
|
+
<object class="NSArray" key="object" id="0">
|
131
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
132
|
+
</object>
|
127
133
|
<reference key="children" ref="1000"/>
|
128
134
|
<nil key="parent"/>
|
129
135
|
</object>
|
@@ -187,26 +193,27 @@
|
|
187
193
|
<object class="NSArray" key="dict.sortedKeys">
|
188
194
|
<bool key="EncodedWithXMLCoder">YES</bool>
|
189
195
|
<string>-1.CustomClassName</string>
|
196
|
+
<string>-1.IBPluginDependency</string>
|
190
197
|
<string>-2.CustomClassName</string>
|
198
|
+
<string>-2.IBPluginDependency</string>
|
191
199
|
<string>10.CustomClassName</string>
|
192
200
|
<string>10.IBPluginDependency</string>
|
193
|
-
<string>16.IBEditorWindowLastContentRect</string>
|
194
201
|
<string>16.IBPluginDependency</string>
|
195
202
|
<string>17.CustomClassName</string>
|
196
203
|
<string>17.IBPluginDependency</string>
|
197
204
|
<string>18.IBPluginDependency</string>
|
198
205
|
<string>19.IBPluginDependency</string>
|
199
206
|
<string>2.IBAttributePlaceholdersKey</string>
|
200
|
-
<string>2.IBEditorWindowLastContentRect</string>
|
201
207
|
<string>2.IBPluginDependency</string>
|
202
208
|
</object>
|
203
209
|
<object class="NSMutableArray" key="dict.values">
|
204
210
|
<bool key="EncodedWithXMLCoder">YES</bool>
|
205
211
|
<string>UIApplication</string>
|
212
|
+
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
206
213
|
<string>UIResponder</string>
|
214
|
+
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
207
215
|
<string>IUTAppDelegate</string>
|
208
216
|
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
209
|
-
<string>{{10, 72}, {320, 480}}</string>
|
210
217
|
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
211
218
|
<string>IUTTestRunnerViewController</string>
|
212
219
|
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
@@ -215,28 +222,21 @@
|
|
215
222
|
<object class="NSMutableDictionary">
|
216
223
|
<bool key="EncodedWithXMLCoder">YES</bool>
|
217
224
|
<reference key="dict.sortedKeys" ref="0"/>
|
218
|
-
<
|
219
|
-
<bool key="EncodedWithXMLCoder">YES</bool>
|
220
|
-
</object>
|
225
|
+
<reference key="dict.values" ref="0"/>
|
221
226
|
</object>
|
222
|
-
<string>{{41, 104}, {320, 480}}</string>
|
223
227
|
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
224
228
|
</object>
|
225
229
|
</object>
|
226
230
|
<object class="NSMutableDictionary" key="unlocalizedProperties">
|
227
231
|
<bool key="EncodedWithXMLCoder">YES</bool>
|
228
232
|
<reference key="dict.sortedKeys" ref="0"/>
|
229
|
-
<
|
230
|
-
<bool key="EncodedWithXMLCoder">YES</bool>
|
231
|
-
</object>
|
233
|
+
<reference key="dict.values" ref="0"/>
|
232
234
|
</object>
|
233
235
|
<nil key="activeLocalization"/>
|
234
236
|
<object class="NSMutableDictionary" key="localizations">
|
235
237
|
<bool key="EncodedWithXMLCoder">YES</bool>
|
236
238
|
<reference key="dict.sortedKeys" ref="0"/>
|
237
|
-
<
|
238
|
-
<bool key="EncodedWithXMLCoder">YES</bool>
|
239
|
-
</object>
|
239
|
+
<reference key="dict.values" ref="0"/>
|
240
240
|
</object>
|
241
241
|
<nil key="sourceID"/>
|
242
242
|
<int key="maxID">20</int>
|
@@ -281,15 +281,7 @@
|
|
281
281
|
</object>
|
282
282
|
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
283
283
|
<string key="majorKey">IBProjectSource</string>
|
284
|
-
<string key="minorKey"
|
285
|
-
</object>
|
286
|
-
</object>
|
287
|
-
<object class="IBPartialClassDescription">
|
288
|
-
<string key="className">IUTAppDelegate</string>
|
289
|
-
<string key="superclassName">NSObject</string>
|
290
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
291
|
-
<string key="majorKey">IBUserSource</string>
|
292
|
-
<string key="minorKey"/>
|
284
|
+
<string key="minorKey">./Classes/IUTAppDelegate.h</string>
|
293
285
|
</object>
|
294
286
|
</object>
|
295
287
|
<object class="IBPartialClassDescription">
|
@@ -297,15 +289,7 @@
|
|
297
289
|
<string key="superclassName">UITableViewController</string>
|
298
290
|
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
299
291
|
<string key="majorKey">IBProjectSource</string>
|
300
|
-
<string key="minorKey"
|
301
|
-
</object>
|
302
|
-
</object>
|
303
|
-
<object class="IBPartialClassDescription">
|
304
|
-
<string key="className">IUTResultTableViewController</string>
|
305
|
-
<string key="superclassName">UITableViewController</string>
|
306
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
307
|
-
<string key="majorKey">IBUserSource</string>
|
308
|
-
<string key="minorKey"/>
|
292
|
+
<string key="minorKey">./Classes/IUTResultTableViewController.h</string>
|
309
293
|
</object>
|
310
294
|
</object>
|
311
295
|
<object class="IBPartialClassDescription">
|
@@ -433,279 +417,7 @@
|
|
433
417
|
</object>
|
434
418
|
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
435
419
|
<string key="majorKey">IBProjectSource</string>
|
436
|
-
<string key="minorKey"
|
437
|
-
</object>
|
438
|
-
</object>
|
439
|
-
<object class="IBPartialClassDescription">
|
440
|
-
<string key="className">IUTTestRunnerViewController</string>
|
441
|
-
<string key="superclassName">UIViewController</string>
|
442
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
443
|
-
<string key="majorKey">IBUserSource</string>
|
444
|
-
<string key="minorKey"/>
|
445
|
-
</object>
|
446
|
-
</object>
|
447
|
-
</object>
|
448
|
-
<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
|
449
|
-
<bool key="EncodedWithXMLCoder">YES</bool>
|
450
|
-
<object class="IBPartialClassDescription">
|
451
|
-
<string key="className">NSObject</string>
|
452
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
453
|
-
<string key="majorKey">IBFrameworkSource</string>
|
454
|
-
<string key="minorKey">Foundation.framework/Headers/NSError.h</string>
|
455
|
-
</object>
|
456
|
-
</object>
|
457
|
-
<object class="IBPartialClassDescription">
|
458
|
-
<string key="className">NSObject</string>
|
459
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
460
|
-
<string key="majorKey">IBFrameworkSource</string>
|
461
|
-
<string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string>
|
462
|
-
</object>
|
463
|
-
</object>
|
464
|
-
<object class="IBPartialClassDescription">
|
465
|
-
<string key="className">NSObject</string>
|
466
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
467
|
-
<string key="majorKey">IBFrameworkSource</string>
|
468
|
-
<string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string>
|
469
|
-
</object>
|
470
|
-
</object>
|
471
|
-
<object class="IBPartialClassDescription">
|
472
|
-
<string key="className">NSObject</string>
|
473
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
474
|
-
<string key="majorKey">IBFrameworkSource</string>
|
475
|
-
<string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string>
|
476
|
-
</object>
|
477
|
-
</object>
|
478
|
-
<object class="IBPartialClassDescription">
|
479
|
-
<string key="className">NSObject</string>
|
480
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
481
|
-
<string key="majorKey">IBFrameworkSource</string>
|
482
|
-
<string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string>
|
483
|
-
</object>
|
484
|
-
</object>
|
485
|
-
<object class="IBPartialClassDescription">
|
486
|
-
<string key="className">NSObject</string>
|
487
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
488
|
-
<string key="majorKey">IBFrameworkSource</string>
|
489
|
-
<string key="minorKey">Foundation.framework/Headers/NSObject.h</string>
|
490
|
-
</object>
|
491
|
-
</object>
|
492
|
-
<object class="IBPartialClassDescription">
|
493
|
-
<string key="className">NSObject</string>
|
494
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
495
|
-
<string key="majorKey">IBFrameworkSource</string>
|
496
|
-
<string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string>
|
497
|
-
</object>
|
498
|
-
</object>
|
499
|
-
<object class="IBPartialClassDescription">
|
500
|
-
<string key="className">NSObject</string>
|
501
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
502
|
-
<string key="majorKey">IBFrameworkSource</string>
|
503
|
-
<string key="minorKey">Foundation.framework/Headers/NSThread.h</string>
|
504
|
-
</object>
|
505
|
-
</object>
|
506
|
-
<object class="IBPartialClassDescription">
|
507
|
-
<string key="className">NSObject</string>
|
508
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
509
|
-
<string key="majorKey">IBFrameworkSource</string>
|
510
|
-
<string key="minorKey">Foundation.framework/Headers/NSURL.h</string>
|
511
|
-
</object>
|
512
|
-
</object>
|
513
|
-
<object class="IBPartialClassDescription">
|
514
|
-
<string key="className">NSObject</string>
|
515
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
516
|
-
<string key="majorKey">IBFrameworkSource</string>
|
517
|
-
<string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string>
|
518
|
-
</object>
|
519
|
-
</object>
|
520
|
-
<object class="IBPartialClassDescription">
|
521
|
-
<string key="className">NSObject</string>
|
522
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
523
|
-
<string key="majorKey">IBFrameworkSource</string>
|
524
|
-
<string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string>
|
525
|
-
</object>
|
526
|
-
</object>
|
527
|
-
<object class="IBPartialClassDescription">
|
528
|
-
<string key="className">NSObject</string>
|
529
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
530
|
-
<string key="majorKey">IBFrameworkSource</string>
|
531
|
-
<string key="minorKey">UIKit.framework/Headers/UINibLoading.h</string>
|
532
|
-
</object>
|
533
|
-
</object>
|
534
|
-
<object class="IBPartialClassDescription">
|
535
|
-
<string key="className">NSObject</string>
|
536
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier" id="547848812">
|
537
|
-
<string key="majorKey">IBFrameworkSource</string>
|
538
|
-
<string key="minorKey">UIKit.framework/Headers/UIResponder.h</string>
|
539
|
-
</object>
|
540
|
-
</object>
|
541
|
-
<object class="IBPartialClassDescription">
|
542
|
-
<string key="className">UIActivityIndicatorView</string>
|
543
|
-
<string key="superclassName">UIView</string>
|
544
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
545
|
-
<string key="majorKey">IBFrameworkSource</string>
|
546
|
-
<string key="minorKey">UIKit.framework/Headers/UIActivityIndicatorView.h</string>
|
547
|
-
</object>
|
548
|
-
</object>
|
549
|
-
<object class="IBPartialClassDescription">
|
550
|
-
<string key="className">UIApplication</string>
|
551
|
-
<string key="superclassName">UIResponder</string>
|
552
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
553
|
-
<string key="majorKey">IBFrameworkSource</string>
|
554
|
-
<string key="minorKey">UIKit.framework/Headers/UIApplication.h</string>
|
555
|
-
</object>
|
556
|
-
</object>
|
557
|
-
<object class="IBPartialClassDescription">
|
558
|
-
<string key="className">UIBarButtonItem</string>
|
559
|
-
<string key="superclassName">UIBarItem</string>
|
560
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
561
|
-
<string key="majorKey">IBFrameworkSource</string>
|
562
|
-
<string key="minorKey">UIKit.framework/Headers/UIBarButtonItem.h</string>
|
563
|
-
</object>
|
564
|
-
</object>
|
565
|
-
<object class="IBPartialClassDescription">
|
566
|
-
<string key="className">UIBarItem</string>
|
567
|
-
<string key="superclassName">NSObject</string>
|
568
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
569
|
-
<string key="majorKey">IBFrameworkSource</string>
|
570
|
-
<string key="minorKey">UIKit.framework/Headers/UIBarItem.h</string>
|
571
|
-
</object>
|
572
|
-
</object>
|
573
|
-
<object class="IBPartialClassDescription">
|
574
|
-
<string key="className">UIButton</string>
|
575
|
-
<string key="superclassName">UIControl</string>
|
576
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
577
|
-
<string key="majorKey">IBFrameworkSource</string>
|
578
|
-
<string key="minorKey">UIKit.framework/Headers/UIButton.h</string>
|
579
|
-
</object>
|
580
|
-
</object>
|
581
|
-
<object class="IBPartialClassDescription">
|
582
|
-
<string key="className">UIControl</string>
|
583
|
-
<string key="superclassName">UIView</string>
|
584
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
585
|
-
<string key="majorKey">IBFrameworkSource</string>
|
586
|
-
<string key="minorKey">UIKit.framework/Headers/UIControl.h</string>
|
587
|
-
</object>
|
588
|
-
</object>
|
589
|
-
<object class="IBPartialClassDescription">
|
590
|
-
<string key="className">UILabel</string>
|
591
|
-
<string key="superclassName">UIView</string>
|
592
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
593
|
-
<string key="majorKey">IBFrameworkSource</string>
|
594
|
-
<string key="minorKey">UIKit.framework/Headers/UILabel.h</string>
|
595
|
-
</object>
|
596
|
-
</object>
|
597
|
-
<object class="IBPartialClassDescription">
|
598
|
-
<string key="className">UINavigationBar</string>
|
599
|
-
<string key="superclassName">UIView</string>
|
600
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier" id="979433550">
|
601
|
-
<string key="majorKey">IBFrameworkSource</string>
|
602
|
-
<string key="minorKey">UIKit.framework/Headers/UINavigationBar.h</string>
|
603
|
-
</object>
|
604
|
-
</object>
|
605
|
-
<object class="IBPartialClassDescription">
|
606
|
-
<string key="className">UINavigationController</string>
|
607
|
-
<string key="superclassName">UIViewController</string>
|
608
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier" id="119370389">
|
609
|
-
<string key="majorKey">IBFrameworkSource</string>
|
610
|
-
<string key="minorKey">UIKit.framework/Headers/UINavigationController.h</string>
|
611
|
-
</object>
|
612
|
-
</object>
|
613
|
-
<object class="IBPartialClassDescription">
|
614
|
-
<string key="className">UINavigationItem</string>
|
615
|
-
<string key="superclassName">NSObject</string>
|
616
|
-
<reference key="sourceIdentifier" ref="979433550"/>
|
617
|
-
</object>
|
618
|
-
<object class="IBPartialClassDescription">
|
619
|
-
<string key="className">UIProgressView</string>
|
620
|
-
<string key="superclassName">UIView</string>
|
621
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
622
|
-
<string key="majorKey">IBFrameworkSource</string>
|
623
|
-
<string key="minorKey">UIKit.framework/Headers/UIProgressView.h</string>
|
624
|
-
</object>
|
625
|
-
</object>
|
626
|
-
<object class="IBPartialClassDescription">
|
627
|
-
<string key="className">UIResponder</string>
|
628
|
-
<string key="superclassName">NSObject</string>
|
629
|
-
<reference key="sourceIdentifier" ref="547848812"/>
|
630
|
-
</object>
|
631
|
-
<object class="IBPartialClassDescription">
|
632
|
-
<string key="className">UISearchBar</string>
|
633
|
-
<string key="superclassName">UIView</string>
|
634
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
635
|
-
<string key="majorKey">IBFrameworkSource</string>
|
636
|
-
<string key="minorKey">UIKit.framework/Headers/UISearchBar.h</string>
|
637
|
-
</object>
|
638
|
-
</object>
|
639
|
-
<object class="IBPartialClassDescription">
|
640
|
-
<string key="className">UISearchDisplayController</string>
|
641
|
-
<string key="superclassName">NSObject</string>
|
642
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
643
|
-
<string key="majorKey">IBFrameworkSource</string>
|
644
|
-
<string key="minorKey">UIKit.framework/Headers/UISearchDisplayController.h</string>
|
645
|
-
</object>
|
646
|
-
</object>
|
647
|
-
<object class="IBPartialClassDescription">
|
648
|
-
<string key="className">UITableViewController</string>
|
649
|
-
<string key="superclassName">UIViewController</string>
|
650
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
651
|
-
<string key="majorKey">IBFrameworkSource</string>
|
652
|
-
<string key="minorKey">UIKit.framework/Headers/UITableViewController.h</string>
|
653
|
-
</object>
|
654
|
-
</object>
|
655
|
-
<object class="IBPartialClassDescription">
|
656
|
-
<string key="className">UIView</string>
|
657
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
658
|
-
<string key="majorKey">IBFrameworkSource</string>
|
659
|
-
<string key="minorKey">UIKit.framework/Headers/UITextField.h</string>
|
660
|
-
</object>
|
661
|
-
</object>
|
662
|
-
<object class="IBPartialClassDescription">
|
663
|
-
<string key="className">UIView</string>
|
664
|
-
<string key="superclassName">UIResponder</string>
|
665
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
666
|
-
<string key="majorKey">IBFrameworkSource</string>
|
667
|
-
<string key="minorKey">UIKit.framework/Headers/UIView.h</string>
|
668
|
-
</object>
|
669
|
-
</object>
|
670
|
-
<object class="IBPartialClassDescription">
|
671
|
-
<string key="className">UIViewController</string>
|
672
|
-
<reference key="sourceIdentifier" ref="119370389"/>
|
673
|
-
</object>
|
674
|
-
<object class="IBPartialClassDescription">
|
675
|
-
<string key="className">UIViewController</string>
|
676
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
677
|
-
<string key="majorKey">IBFrameworkSource</string>
|
678
|
-
<string key="minorKey">UIKit.framework/Headers/UIPopoverController.h</string>
|
679
|
-
</object>
|
680
|
-
</object>
|
681
|
-
<object class="IBPartialClassDescription">
|
682
|
-
<string key="className">UIViewController</string>
|
683
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
684
|
-
<string key="majorKey">IBFrameworkSource</string>
|
685
|
-
<string key="minorKey">UIKit.framework/Headers/UISplitViewController.h</string>
|
686
|
-
</object>
|
687
|
-
</object>
|
688
|
-
<object class="IBPartialClassDescription">
|
689
|
-
<string key="className">UIViewController</string>
|
690
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
691
|
-
<string key="majorKey">IBFrameworkSource</string>
|
692
|
-
<string key="minorKey">UIKit.framework/Headers/UITabBarController.h</string>
|
693
|
-
</object>
|
694
|
-
</object>
|
695
|
-
<object class="IBPartialClassDescription">
|
696
|
-
<string key="className">UIViewController</string>
|
697
|
-
<string key="superclassName">UIResponder</string>
|
698
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
699
|
-
<string key="majorKey">IBFrameworkSource</string>
|
700
|
-
<string key="minorKey">UIKit.framework/Headers/UIViewController.h</string>
|
701
|
-
</object>
|
702
|
-
</object>
|
703
|
-
<object class="IBPartialClassDescription">
|
704
|
-
<string key="className">UIWindow</string>
|
705
|
-
<string key="superclassName">UIView</string>
|
706
|
-
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
707
|
-
<string key="majorKey">IBFrameworkSource</string>
|
708
|
-
<string key="minorKey">UIKit.framework/Headers/UIWindow.h</string>
|
420
|
+
<string key="minorKey">./Classes/IUTTestRunnerViewController.h</string>
|
709
421
|
</object>
|
710
422
|
</object>
|
711
423
|
</object>
|
@@ -725,8 +437,7 @@
|
|
725
437
|
<integer value="3000" key="NS.object.0"/>
|
726
438
|
</object>
|
727
439
|
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
728
|
-
<string key="IBDocument.LastKnownRelativeProjectPath">iUnitTest.xcodeproj</string>
|
729
440
|
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
730
|
-
<string key="IBCocoaTouchPluginVersion">
|
441
|
+
<string key="IBCocoaTouchPluginVersion">933</string>
|
731
442
|
</data>
|
732
443
|
</archive>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iut
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-01-
|
12
|
+
date: 2012-01-17 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: ! 'After Xcode 4 released, the format of template project was changed.
|
15
15
|
The aim of this command is to make a iUnitTest test project easily. '
|
@@ -28,12 +28,12 @@ files:
|
|
28
28
|
- lib/iut.rb
|
29
29
|
- lib/iut/generator.rb
|
30
30
|
- lib/iut/version.rb
|
31
|
-
- template/project/iUnitTest/
|
31
|
+
- template/project/iUnitTest/TEST_PROJECT.xcodeproj/project.pbxproj
|
32
32
|
- template/project/iUnitTest/iUnitTest/Classes/.do_not_remove_this_directory
|
33
|
+
- template/project/iUnitTest/iUnitTest/TEST_PROJECT-Info.plist
|
34
|
+
- template/project/iUnitTest/iUnitTest/TEST_PROJECT-Prefix.pch
|
33
35
|
- template/project/iUnitTest/iUnitTest/Tests/.do_not_remove_this_directory
|
34
36
|
- template/project/iUnitTest/iUnitTest/en.lproj/InfoPlist.strings
|
35
|
-
- template/project/iUnitTest/iUnitTest/iUnitTest-Info.plist
|
36
|
-
- template/project/iUnitTest/iUnitTest/iUnitTest-Prefix.pch
|
37
37
|
- template/project/iUnitTest/iUnitTest/iunittest/Default.png
|
38
38
|
- template/project/iUnitTest/iUnitTest/iunittest/IUTAppDelegate.h
|
39
39
|
- template/project/iUnitTest/iUnitTest/iunittest/IUTAppDelegate.m
|