11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
+
+
|
#import "OFString.h"
#import "OFFile.h"
#import "OFAutoreleasePool.h"
#import "TestsAppDelegate.h"
OF_APPLICATION_DELEGATE(TestsAppDelegate)
@implementation TestsAppDelegate
- (void)outputString: (OFString*)str
withColor: (int)color
{
#ifdef STDOUT
switch (color) {
case 0:
|
93
94
95
96
97
98
99
100
101
102
103
104
105
|
95
96
97
98
99
100
101
|
-
-
-
-
-
-
|
[self pluginTests];
#endif
#ifdef OF_HAVE_PROPERTIES
[self propertiesTests];
#endif
}
@end
int
main(int argc, char *argv[])
{
return of_application_main(argc, argv, [TestsAppDelegate class]);
}
|