ObjFW  History of tests/OFJSONTests.m of cee78b6630366e31

History of file tests/OFJSONTests.m at check-in cee78b6630366e31

2024-10-27
23:57
Add support for \x from JSON5 file: [bb6556cac3] check-in: [229486deb1] user: js, branch: trunk, size: 4151 [annotate] [blame] [check-ins using] [diff]
23:48
Allow \u0000 in JSON file: [f4ec78e136] check-in: [d7bbf983f0] user: js, branch: trunk, size: 4144 [annotate] [blame] [check-ins using] [diff]
22:27
Allow strings to contain \0

In order to not accidentally have C strings with \0, an
OFInvalidEncodingException is thrown when trying to get a C string for a
string that contains \0.

In order to get a C string with \0 anyway, a new method
-[insecureCStringWithEncoding:] is added. file: [4578e0b89d] check-in: [6fbc3b18c7] user: js, branch: trunk, size: 4109 [annotate] [blame] [check-ins using] [diff]

2024-08-16
22:26
Add OFJSONRepresentationOptionSorted file: [2ee8657285] check-in: [7e1c8b88b7] user: js, branch: trunk, size: 4083 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [3d70f6cb68] check-in: [7413a728a7] user: js, branch: trunk, size: 3825 [annotate] [blame] [check-ins using] [diff]
2024-02-18
21:07
Deleted: Merge trunk into branch "asn1" check-in: [1779d5b5a7] user: js, branch: asn1, size: 0
19:29
Renamed new_tests/OFJSONTests.m → tests/OFJSONTests.m. Rename new tests file: [2e899d37b6] check-in: [7a84580fb6] user: js, branch: objfwtest, size: 3617 [annotate] [blame] [check-ins using] [diff]
19:29
Renamed to tests/OFJSONTests.m. Rename new tests check-in: [7a84580fb6] user: js, branch: objfwtest, size: 0
2024-02-13
21:15
ObjFWTest: Add OTOrderedDictionary file: [2e899d37b6] check-in: [b1a0bfe247] user: js, branch: objfwtest, size: 3617 [annotate] [blame] [check-ins using] [diff]
2024-02-12
20:10
Never rely on messing with OFHashSeed in tests file: [fbfa925551] check-in: [a58692ecce] user: js, branch: objfwtest, size: 4114 [annotate] [blame] [check-ins using] [diff]
2024-02-11
20:49
Migrate OFArrayTests to ObjFWTest file: [125230cf82] check-in: [7272d5b2cd] user: js, branch: objfwtest, size: 3802 [annotate] [blame] [check-ins using] [diff]
17:13
Renamed tests/OFJSONTests.m → new_tests/OFJSONTests.m. Migrate OFJSONTests to ObjFWTest file: [9843db101a] check-in: [ce1f7a4088] user: js, branch: objfwtest, size: 3765 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [92f1f602a7] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 3500 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [cf63bd9e05] check-in: [8939cbdb52] user: js, branch: trunk, size: 3500 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [330199594e] check-in: [1a86b8175b] user: js, branch: trunk, size: 3500 [annotate] [blame] [check-ins using] [diff]
2021-05-08
23:22
tests: Align more with ObjFW style

ObjFW's style changed over the years, but the tests were never adjusted
to it. file: [4a647fbb7e] check-in: [14f1e22d79] user: js, branch: trunk, size: 3500 [annotate] [blame] [check-ins using] [diff]

2021-04-17
17:49
Rename JSON representation options file: [15d8e0cc74] check-in: [5ce8c7cca7] user: js, branch: new-naming-convention, size: 3469 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [1509791c9a] check-in: [374e1a1bfa] user: js, branch: trunk, size: 3457 [annotate] [blame] [check-ins using] [diff]
2020-08-13
21:07
OFString: Rename JSONValue to objectByParsingJSON file: [dda895677f] check-in: [8611f48f42] user: js, branch: trunk, size: 3546 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [9395f43f69] check-in: [c7f0229795] user: js, branch: trunk, size: 3406 [annotate] [blame] [check-ins using] [diff]
2019-09-29
15:58
Remove OFAutoreleasePool

OFAutoreleasePools have long been discouraged in favor of the runtime's
autorelease pools. file: [f5ca7dab96] check-in: [09be825f88] user: js, branch: trunk, size: 3403 [annotate] [blame] [check-ins using] [diff]

2019-03-25
00:21
tests: Use dot syntax file: [d82a70372d] check-in: [b045cbb9c7] user: js, branch: trunk, size: 3405 [annotate] [blame] [check-ins using] [diff]
2019-02-17
22:44
tests: Only import ObjFW.h

This prevents forgetting to add an import to ObjFW.h, as the tests would
then not compile. file: [4b67f031f6] check-in: [dc0c6c34ab] user: js, branch: trunk, size: 3390 [annotate] [blame] [check-ins using] [diff]

2019-01-03
19:13
Update copyright file: [f840516bbc] check-in: [0509d7a844] user: js, branch: trunk, size: 3563 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [df6be4c85a] check-in: [7e5c81e186] user: js, branch: trunk, size: 3557 [annotate] [blame] [check-ins using] [diff]
2017-05-13
23:27
Add depth limit for MessagePack file: [e1f8244382] check-in: [c0d8a3426c] user: js, branch: trunk, size: 3534 [annotate] [blame] [check-ins using] [diff]
2017-05-01
13:51
Add tests for generic OF(Mutable)Dictionary

These are usually not used, as OFDictionary_hashtable and
OFMutableDictionary_hashtable are used instead. However, they are used
if someone creates their own subclass of OFDictionary /
OFMutableDictionary. As they are rarely used in production, it is
important to run all tests on them. file: [0d2731c6ad] check-in: [cfd54bd090] user: js, branch: trunk, size: 2337 [annotate] [blame] [check-ins using] [diff]

2017-01-09
17:36
Update copyright

Forgot to add 2017, even though I already did quite some changes in
2017. file: [4cefe879e1] check-in: [44f45c2e35] user: js, branch: trunk, size: 2337 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:41
Update copyright

While at it, also update the mail address. file: [64c6fcde1c] check-in: [2a27cf3000] user: js, branch: trunk, size: 2331 [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
Update copyright file: [147183f018] check-in: [cfd374b906] user: js, branch: trunk, size: 2327 [annotate] [blame] [check-ins using] [diff]
2014-02-10
19:10
Add test for OF_JSON_REPRESENTATION_JSON5 file: [13c23dfed4] check-in: [25b3aaf57c] user: js, branch: trunk, size: 2321 [annotate] [blame] [check-ins using] [diff]
2014-02-08
09:26
Add -[JSONRepresentationWithOptions:]

This also adds OF_JSON_REPRESENTATION_PRETTY. file: [37da130670] check-in: [eaa612ad50] user: js, branch: trunk, size: 2131 [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
Update copyright. file: [d6147f879d] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 1889 [annotate] [blame] [check-ins using] [diff]
2013-03-04
17:20
Replace BOOL with bool.

The only places where BOOL is left are those where they are required by
the ABI. file: [c7925a23f4] check-in: [c5ef582958] user: js, branch: trunk, size: 1883 [annotate] [blame] [check-ins using] [diff]

2013-01-09
22:24
Update copyright. file: [cfa228d8ae] check-in: [813c00ccf0] user: js, branch: trunk, size: 1880 [annotate] [blame] [check-ins using] [diff]
2012-12-01
18:08
OFDictionary_hashtable: Store in OFMapTable. file: [788ed24fe7] check-in: [1abbb97747] user: js, branch: trunk, size: 1874 [annotate] [blame] [check-ins using] [diff]
2012-06-10
16:07
JSON: Make it possible to get the invalid line.

This introduces OFInvalidJSONException, which has a property line to get
the line in which the parsing error occurred. file: [c4b49139b1] check-in: [72c71c4eb2] user: js, branch: trunk, size: 1874 [annotate] [blame] [check-ins using] [diff]

2012-06-04
23:36
Allow numbers in JSON5 format. file: [ae9d04304d] check-in: [3e028f7479] user: js, branch: trunk, size: 1894 [annotate] [blame] [check-ins using] [diff]
22:32
Initial JSON5 support.

Supported so far:
* comments
* single quoted strings file: [e8e782d6ff] check-in: [54f80aba7a] user: js, branch: trunk, size: 1857 [annotate] [blame] [check-ins using] [diff]

2012-01-05
00:56
Update copyright. file: [b853b74aa1] check-in: [ce70e17b38] user: js, branch: trunk, size: 1854 [annotate] [blame] [check-ins using] [diff]
2012-01-03
20:46
Work around a stupid gcc warning. file: [a8d60fa0cd] check-in: [d78526559e] user: js, branch: trunk, size: 1848 [annotate] [blame] [check-ins using] [diff]
2011-12-29
14:59
Enhance JSON tests. file: [373cac5c83] check-in: [db8fae97f2] user: js, branch: trunk, size: 1847 [annotate] [blame] [check-ins using] [diff]
02:04
Added: Add tests for JSON. file: [5fec8cecc1] check-in: [f4d994aba0] user: js, branch: trunk, size: 1409 [annotate] [blame] [check-ins using]