Overview
| Comment: | Print system info at the end of the tests |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
7075962f8768cc3a888f63b2bb91f5b4 |
| User & Date: | js on 2018-04-15 15:09:53 |
| Other Links: | manifest | tags |
Context
|
2018-04-15
| ||
| 17:41 | OFLocalization: Add support for AmigaOS 4 (check-in: eca1f56e3d user: js tags: trunk) | |
| 15:09 | Print system info at the end of the tests (check-in: 7075962f87 user: js tags: trunk) | |
| 14:49 | OFLocalization: Fix setting the territory (check-in: 4dfd47aeaa user: js tags: trunk) | |
Changes
Modified tests/Makefile from [4850c1be9d] to [2341a79b0d].
| ︙ | |||
25 26 27 28 29 30 31 32 33 34 35 36 37 38 | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | + |
OFMethodSignatureTests.m \
OFNumberTests.m \
OFObjectTests.m \
OFPropertyListTests.m \
OFSetTests.m \
OFStreamTests.m \
OFStringTests.m \
OFSystemInfoTests.m \
OFURLTests.m \
OFValueTests.m \
OFXMLElementBuilderTests.m \
OFXMLNodeTests.m \
OFXMLParserTests.m \
PBKDF2Tests.m \
RuntimeTests.m \
|
| ︙ |
Modified tests/OFLocalizationTests.m from [5929d44b99] to [1b1cfd39d3].
| ︙ | |||
17 18 19 20 21 22 23 24 25 26 27 28 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | + + - - - + - - - - + - - - - - + + - - - - - + - - |
#include "config.h"
#import "OFLocalization.h"
#import "OFAutoreleasePool.h"
#import "TestsAppDelegate.h"
static OFString *module = @"OFLocalization";
@implementation TestsAppDelegate (OFLocalizationTests)
- (void)localizationTests
{
OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
|
Added tests/OFSystemInfoTests.m version [d3ce6a43df].
|
Modified tests/TestsAppDelegate.h from [cf65eeb924] to [ddf3fa4731].
| ︙ | |||
51 52 53 54 55 56 57 58 59 60 61 62 63 64 | 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | + + + + + + + |
else { \
[self outputFailure: test \
inModule: module]; \
_fails++; \
} \
}
#define R(...) (__VA_ARGS__, 1)
#define PRINT(color, fmt, ...) \
{ \
OFString *msg = [OFString stringWithFormat: \
@"[%@] " fmt @"\n", module, __VA_ARGS__]; \
[self outputString: msg \
inColor: color]; \
}
@class OFString;
enum {
NO_COLOR,
RED,
GREEN,
|
| ︙ | |||
203 204 205 206 207 208 209 210 211 212 213 214 215 216 | 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 | + + + + | @interface TestsAppDelegate (OFSHA384HashTests) - (void)SHA384HashTests; @end @interface TestsAppDelegate (OFSHA512HashTests) - (void)SHA512HashTests; @end @interface TestsAppDelegate (OFSystemInfoTests) - (void)systemInfoTests; @end @interface TestsAppDelegate (OFHMACTests) - (void)HMACTests; @end @interface TestsAppDelegate (OFStreamTests) - (void)streamTests; |
| ︙ |
Modified tests/TestsAppDelegate.m from [a068037952] to [251eb0b81a].
| ︙ | |||
431 432 433 434 435 436 437 438 439 440 441 442 443 444 | 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 | + | #endif [self JSONTests]; [self propertyListTests]; #if defined(OF_HAVE_PLUGINS) [self pluginTests]; #endif [self systemInfoTests]; [self localizationTests]; #if defined(OF_IOS) [self outputString: [OFString stringWithFormat: @"%d tests failed!", _fails] inColor: NO_COLOR]; [OFApplication terminateWithStatus: _fails]; |
| ︙ |