Merge the Unicode tests into unit-unicode.cpp

The Unicode tests were split into five files (#2889) so they could run
in parallel. After #5418 they take ~20 s together (unoptimized), so one
file is enough. This removes four copies of the check helpers and the
progress output, whose hard-coded totals were stale, and drops
doctest::skip() so JSON_FastTests configurations run them too. The
raised timeout for test-unicode4 is no longer needed.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
Niels Lohmann
2026-09-27 22:07:46 +02:00
parent d304501fa7
commit 9ffd033af7
7 changed files with 1609 additions and 2234 deletions
-3
View File
@@ -129,9 +129,6 @@ json_test_set_test_options(test-disabled_exceptions
#$<$<CXX_COMPILER_ID:MSVC>:/EH>
)
# raise timeout of expensive Unicode test
json_test_set_test_options(test-unicode4 TEST_PROPERTIES TIMEOUT 3000)
#############################################################################
# add unit tests
#############################################################################