icu/vendor/json
Tim Chevalier 85a9b2ee84 ICU-22746 Refactor MF2 tests to be data-driven and add JSON lib
This change moves all test strings out of test/intltest/messageformat2test.cpp
and into JSON files, which are parsed/run by code in
a new file, test/intltest/messageformat2test_read_json.cpp .
It also removes the file test/intltest/messageformat2test_fromjson.cpp ,
which contained tests that are now stored in JSON files.

To enable this, a new vendored library is added:
nlohmann/json .
This library is introduced as a dependency for the MF2 tests.
The required part of the library is a single header file,
which is added under icu4c/source/tools/toolutil/.
Also adds a wrapper file for the vendored JSON header file
that defines macros that disable exceptions.

Co-authored-by: Steven R. Loomis <srl295@gmail.com>
2024-05-07 14:09:24 -07:00
..
upstream ICU-22746 Refactor MF2 tests to be data-driven and add JSON lib 2024-05-07 14:09:24 -07:00
pull-from-upstream.sh ICU-22746 Refactor MF2 tests to be data-driven and add JSON lib 2024-05-07 14:09:24 -07:00
UPDATING.md ICU-22746 Refactor MF2 tests to be data-driven and add JSON lib 2024-05-07 14:09:24 -07:00