Overview
Comment: | Merge trunk into branch "objfwtest" |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | objfwtest |
Files: | files | file ages | folders |
SHA3-256: |
39545b8c5dc621c4c4e3b298f4d178f5 |
User & Date: | js on 2024-02-11 15:18:47 |
Other Links: | branch diff | manifest | tags |
Context
2024-02-11
| ||
15:32 | Migrate OFInvocationTests to ObjFWTest check-in: 34e6ff9e0b user: js tags: objfwtest | |
15:18 | Merge trunk into branch "objfwtest" check-in: 39545b8c5d user: js tags: objfwtest | |
15:18 | ObjFWTest: Use more, even nicer colors check-in: 6186d3b518 user: js tags: trunk | |
15:12 | Migrate OFMethodSignatureTests to ObjFWTest check-in: de996cc580 user: js tags: objfwtest | |
Changes
Modified src/test/OTAppDelegate.m from [45c4eb9c1a] to [3e448c799c].
︙ | ︙ | |||
147 148 149 150 151 152 153 | size_t numSucceeded = 0, numFailed = 0; [OFStdOut writeFormat: @"Running %zu test case(s)\n", testClasses.count]; for (Class class in testClasses) { [OFStdOut setForegroundColor: [OFColor teal]]; | | > > | 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 | size_t numSucceeded = 0, numFailed = 0; [OFStdOut writeFormat: @"Running %zu test case(s)\n", testClasses.count]; for (Class class in testClasses) { [OFStdOut setForegroundColor: [OFColor teal]]; [OFStdOut writeFormat: @"Running ", class]; [OFStdOut setForegroundColor: [OFColor aqua]]; [OFStdOut writeFormat: @"%@\n", class]; [OFStdOut reset]; for (OFValue *test in [self testsInClass: class]) { void *pool = objc_autoreleasePoolPush(); bool failed = false; OTTestCase *instance; |
︙ | ︙ | |||
210 211 212 213 214 215 216 | } else numFailed++; objc_autoreleasePoolPop(pool); } } | | | > > > | > > | 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 | } else numFailed++; objc_autoreleasePoolPop(pool); } } [OFStdOut setForegroundColor: [OFColor fuchsia]]; [OFStdOut writeFormat: @"%zu", numSucceeded]; [OFStdOut setForegroundColor: [OFColor purple]]; [OFStdOut writeString: @" test(s) succeeded, "]; [OFStdOut setForegroundColor: [OFColor fuchsia]]; [OFStdOut writeFormat: @"%zu", numFailed]; [OFStdOut setForegroundColor: [OFColor purple]]; [OFStdOut writeLine: @" test(s) failed."]; [OFStdOut reset]; [OFApplication terminateWithStatus: (int)numFailed]; } @end |