Overview
Comment: | Migrate OFLocaleTests to ObjFWTest |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | objfwtest |
Files: | files | file ages | folders |
SHA3-256: |
7fafb1641d52a9524b1cdcc1692c430f |
User & Date: | js on 2024-02-12 22:54:20 |
Other Links: | branch diff | manifest | tags |
Context
2024-02-12
| ||
22:58 | ObjFWTest: Add OTAssert{Less,Greater}Than(OrEqual) check-in: eda31b70b6 user: js tags: objfwtest | |
22:54 | Migrate OFLocaleTests to ObjFWTest check-in: 7fafb1641d user: js tags: objfwtest | |
22:49 | Migrate OFDNSResolverTests to ObjFWTest check-in: 53a95fade7 user: js tags: objfwtest | |
Changes
Modified new_tests/Makefile from [5e84369136] to [bbc40dc3df].
︙ | ︙ | |||
22 23 24 25 26 27 28 29 30 31 32 33 34 35 | OFCryptographicHashTests.m \ OFDateTests.m \ OFHMACTests.m \ OFINIFileTests.m \ OFIRITests.m \ OFInvocationTests.m \ OFJSONTests.m \ OFMatrix4x4Tests.m \ OFMethodSignatureTests.m \ OFMutableArrayTests.m \ OFMutableSetTests.m \ OFNumberTests.m \ OFPBKDF2Tests.m \ OFPropertyListTests.m \ | > | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | OFCryptographicHashTests.m \ OFDateTests.m \ OFHMACTests.m \ OFINIFileTests.m \ OFIRITests.m \ OFInvocationTests.m \ OFJSONTests.m \ OFLocaleTests.m \ OFMatrix4x4Tests.m \ OFMethodSignatureTests.m \ OFMutableArrayTests.m \ OFMutableSetTests.m \ OFNumberTests.m \ OFPBKDF2Tests.m \ OFPropertyListTests.m \ |
︙ | ︙ |
Renamed and modified tests/OFLocaleTests.m [bb15c236d6] to new_tests/OFLocaleTests.m [c000e04b91].
︙ | ︙ | |||
11 12 13 14 15 16 17 | * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" | | > < | > | < > > | < > < < > > > | | < < | > < | < > | 11 12 13 14 15 16 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 | * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" #import "ObjFW.h" #import "ObjFWTest.h" @interface OFLocaleTests: OTTestCase @end @implementation OFLocaleTests + (OFArray OF_GENERIC(OFPair OF_GENERIC(OFString *, id) *) *)summary { OFMutableArray *summary = [OFMutableArray array]; #define ADD(name, value) \ [summary addObject: [OFPair pairWithFirstObject: name \ secondObject: value]]; ADD(@"Language code", [OFLocale languageCode]) ADD(@"Country code", [OFLocale countryCode]) ADD(@"Encoding", OFStringEncodingName([OFLocale encoding])) ADD(@"Decimal separator", [OFLocale decimalSeparator]) #undef ADD return summary; } @end |
Modified tests/Makefile from [a4259b631f] to [dd6620f511].
︙ | ︙ | |||
14 15 16 17 18 19 20 | PROG_NOINST = tests${PROG_SUFFIX} STATIC_LIB_NOINST = ${TESTS_STATIC_LIB} SRCS = ForwardingTests.m \ ${OF_BLOCK_TESTS_M} \ OFDataTests.m \ OFDictionaryTests.m \ OFListTests.m \ | < | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | PROG_NOINST = tests${PROG_SUFFIX} STATIC_LIB_NOINST = ${TESTS_STATIC_LIB} SRCS = ForwardingTests.m \ ${OF_BLOCK_TESTS_M} \ OFDataTests.m \ OFDictionaryTests.m \ OFListTests.m \ OFMemoryStreamTests.m \ OFNotificationCenterTests.m \ OFObjectTests.m \ OFStreamTests.m \ OFStringTests.m \ OFValueTests.m \ OFXMLElementBuilderTests.m \ |
︙ | ︙ |
Modified tests/TestsAppDelegate.h from [6b34d4853a] to [45f0814e2c].
︙ | ︙ | |||
99 100 101 102 103 104 105 | - (void)kernelEventObserverTests; @end @interface TestsAppDelegate (OFListTests) - (void)listTests; @end | < < < < | 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | - (void)kernelEventObserverTests; @end @interface TestsAppDelegate (OFListTests) - (void)listTests; @end @interface TestsAppDelegate (OFMemoryStreamTests) - (void)memoryStreamTests; @end @interface TestsAppDelegate (OFNotificationCenterTests) - (void)notificationCenterTests; @end |
︙ | ︙ |
Modified tests/TestsAppDelegate.m from [faae433041] to [a195ff8f10].
︙ | ︙ | |||
415 416 417 418 419 420 421 | [self XMLNodeTests]; [self XMLElementBuilderTests]; #ifdef OF_WINDOWS [self windowsRegistryKeyTests]; #endif | < < | 415 416 417 418 419 420 421 422 423 424 425 426 427 428 | [self XMLNodeTests]; [self XMLElementBuilderTests]; #ifdef OF_WINDOWS [self windowsRegistryKeyTests]; #endif [OFStdOut reset]; #if defined(OF_IOS) [OFStdOut writeFormat: @"%d tests failed!", _fails]; [OFApplication terminateWithStatus: _fails]; #elif defined(OF_WII) [OFStdOut writeString: @"Press home button to exit!"]; |
︙ | ︙ |