Overview
Comment: | tests: Minor const improvement |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c8663697ae76b4a20c17c3fd6983a690 |
User & Date: | js on 2021-05-08 23:29:45 |
Other Links: | manifest | tags |
Context
2021-05-09
| ||
10:17 | tests: Fix shadowed variable check-in: c80b60fcc9 user: js tags: trunk | |
2021-05-08
| ||
23:29 | tests: Minor const improvement check-in: c8663697ae user: js tags: trunk | |
23:22 | tests: Align more with ObjFW style check-in: 14f1e22d79 user: js tags: trunk | |
Changes
Modified tests/OFArrayTests.m from [a384e7dc9e] to [0c4712974c].
︙ | |||
13 14 15 16 17 18 19 | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | - + | * file. */ #include "config.h" #import "TestsAppDelegate.h" |
︙ |
Modified tests/OFCharacterSetTests.m from [dab7b0f641] to [11fed19a2c].
︙ | |||
17 18 19 20 21 22 23 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | - + | #import "TestsAppDelegate.h" #import "OFCharacterSet.h" #import "OFBitSetCharacterSet.h" #import "OFRangeCharacterSet.h" |
︙ |
Modified tests/OFDictionaryTests.m from [1f9b9cab2d] to [545415a78a].
︙ | |||
13 14 15 16 17 18 19 | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | - + | * file. */ #include "config.h" #import "TestsAppDelegate.h" |
︙ |
Modified tests/OFINIFileTests.m from [0d85330d49] to [c77a7c32e4].
︙ | |||
13 14 15 16 17 18 19 | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | - + | * file. */ #include "config.h" #import "TestsAppDelegate.h" |
︙ | |||
45 46 47 48 49 50 51 52 53 54 55 56 57 58 | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | + + | @"double=0.75\r\n"; OFINIFile *file; OFINICategory *tests, *foobar, *types; OFArray *array; #ifndef OF_NINTENDO_DS OFString *writePath; #endif module = @"OFINIFile"; TEST(@"+[fileWithPath:encoding:]", (file = [OFINIFile fileWithPath: @"testfile.ini" encoding: OFStringEncodingCodepage437])) tests = [file categoryForName: @"tests"]; foobar = [file categoryForName: @"foobar"]; |
︙ |
Modified tests/OFListTests.m from [8b9464c149] to [890c1e2652].
︙ | |||
13 14 15 16 17 18 19 | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | - + | * file. */ #include "config.h" #import "TestsAppDelegate.h" |
︙ |
Modified tests/OFMD5HashTests.m from [28e9fd3aee] to [e16a55e7a6].
︙ | |||
15 16 17 18 19 20 21 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | - + | #include "config.h" #include <string.h> #import "TestsAppDelegate.h" |
︙ |
Modified tests/OFSetTests.m from [04cbdfa860] to [d85d2c2bce].
︙ | |||
17 18 19 20 21 22 23 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | - + | #import "TestsAppDelegate.h" #import "OFSet.h" #import "OFMapTableSet.h" #import "OFMutableMapTableSet.h" |
︙ |
Modified tests/OFStringTests.m from [ebff40f9d8] to [cf7c49d0e8].
︙ | |||
25 26 27 28 29 30 31 | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | - + | #import "OFMutableUTF8String.h" #import "OFUTF8String.h" #ifndef INFINITY # define INFINITY __builtin_inf() #endif |
︙ |
Modified tests/OFTCPSocketTests.m from [a30a596e10] to [e9219b696c].
︙ | |||
15 16 17 18 19 20 21 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | - + | #include "config.h" #include <string.h> #import "TestsAppDelegate.h" |
︙ |