codersdojo 1.2.14 → 1.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,8 +2,21 @@
|
|
|
2
2
|
// Important: Test and production code has to be
|
|
3
3
|
// completely in this file.
|
|
4
4
|
|
|
5
|
+
#import <Cocoa/Cocoa.h>
|
|
5
6
|
#import <SenTestingKit/SenTestingKit.h>
|
|
6
7
|
|
|
8
|
+
@interface %Kata_file% : NSObject {
|
|
9
|
+
}
|
|
10
|
+
-(NSString*) %kata_file%;
|
|
11
|
+
@end
|
|
12
|
+
|
|
13
|
+
@implementation %Kata_file%
|
|
14
|
+
-(NSString*) %kata_file% {
|
|
15
|
+
return @"fixme";
|
|
16
|
+
}
|
|
17
|
+
@end
|
|
18
|
+
|
|
19
|
+
|
|
7
20
|
@interface %Kata_file%Tests : SenTestCase {
|
|
8
21
|
}
|
|
9
22
|
@end
|
|
@@ -13,18 +26,7 @@
|
|
|
13
26
|
-(void) test%Kata_file% {
|
|
14
27
|
%Kata_file% *%kata_file% = [[%Kata_file% alloc] init];
|
|
15
28
|
STAssertEqualObjects(@"foo", [%kata_file% %kata_file%], nil);
|
|
16
|
-
[%kata_file% release]
|
|
29
|
+
[%kata_file% release];
|
|
17
30
|
}
|
|
18
31
|
|
|
19
32
|
@end
|
|
20
|
-
|
|
21
|
-
@interface %Kata_file% {
|
|
22
|
-
}
|
|
23
|
-
-(NSString*) %kata_file%;
|
|
24
|
-
@end
|
|
25
|
-
|
|
26
|
-
@implementation %Kata_file%
|
|
27
|
-
-(NSString*) %kata_file% {
|
|
28
|
-
return "fixme"
|
|
29
|
-
}
|
|
30
|
-
@end
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
mkdir -p %Kata_file%Tests.octest/Contents/MacOS/ && gcc -x objective-c -std=gnu99 -isysroot /Developer/SDKs/MacOSX10.6.sdk -fobjc-gc -F/Developer/Library/Frameworks -c %Kata_file%Tests.m -o %Kata_file%Tests.o && gcc -bundle -isysroot /Developer/SDKs/MacOSX10.6.sdk -F/Developer/Library/Frameworks -framework SenTestingKit -framework Cocoa %Kata_file%Tests.o -o %Kata_file%Tests.octest/Contents/MacOS/%Kata_file%Tests && /Developer/Tools/otest %Kata_file%Tests.octest
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: codersdojo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 1
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 1.2.
|
|
9
|
+
- 15
|
|
10
|
+
version: 1.2.15
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- CodersDojo-Team
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-05-
|
|
18
|
+
date: 2011-05-20 00:00:00 +02:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|