Differences From Artifact [6659b80a48]:
- File tests/OFStringTests.m — part of check-in [17d57e01ff] at 2019-06-17 02:33:47 on branch trunk — Remove underscores from class names (user: js, size: 53974) [annotate] [blame] [check-ins using]
To Artifact [c26219a4ab]:
- File
tests/OFStringTests.m
— part of check-in
[09be825f88]
at
2019-09-29 15:58:33
on branch trunk
— Remove OFAutoreleasePool
OFAutoreleasePools have long been discouraged in favor of the runtime's
autorelease pools. (user: js, size: 53972) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
207 208 209 210 211 212 213 | } @end @implementation TestsAppDelegate (OFStringTests) - (void)stringTestsWithClass: (Class)stringClass mutableClass: (Class)mutableStringClass { | | | 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 | } @end @implementation TestsAppDelegate (OFStringTests) - (void)stringTestsWithClass: (Class)stringClass mutableClass: (Class)mutableStringClass { void *pool = objc_autoreleasePoolPush(); OFMutableString *s[3]; OFString *is; OFArray *a; size_t i; const of_unichar_t *ua; const uint16_t *u16a; OFCharacterSet *cs; |
︙ | ︙ | |||
1420 1421 1422 1423 1424 1425 1426 | j++; }]; TEST(@"-[enumerateLinesUsingBlock:]", ok) #endif #undef C | | | 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 | j++; }]; TEST(@"-[enumerateLinesUsingBlock:]", ok) #endif #undef C objc_autoreleasePoolPop(pool); } - (void)stringTests { module = @"OFString"; [self stringTestsWithClass: [SimpleString class] mutableClass: [SimpleMutableString class]]; module = @"OFString_UTF8"; [self stringTestsWithClass: [OFUTF8String class] mutableClass: [OFMutableUTF8String class]]; } @end |