added n test cases (#344)
This commit is contained in:
parent
7da182472d
commit
b03bbe724d
1 changed files with 206 additions and 208 deletions
|
@ -552,7 +552,6 @@ TEST_CASE("nst's JSONTestSuite")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
SECTION("n")
|
SECTION("n")
|
||||||
{
|
{
|
||||||
for (auto filename :
|
for (auto filename :
|
||||||
|
@ -634,7 +633,7 @@ TEST_CASE("nst's JSONTestSuite")
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_number_real_with_invalid_utf8_after_e.json",
|
"test/data/nst_json_testsuite/test_parsing/n_number_real_with_invalid_utf8_after_e.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_number_real_without_fractional_part.json",
|
"test/data/nst_json_testsuite/test_parsing/n_number_real_without_fractional_part.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_number_starting_with_dot.json",
|
"test/data/nst_json_testsuite/test_parsing/n_number_starting_with_dot.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_number_then_00.json",
|
//"test/data/nst_json_testsuite/test_parsing/n_number_then_00.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_number_with_alpha.json",
|
"test/data/nst_json_testsuite/test_parsing/n_number_with_alpha.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_number_with_alpha_char.json",
|
"test/data/nst_json_testsuite/test_parsing/n_number_with_alpha_char.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_number_with_leading_zero.json",
|
"test/data/nst_json_testsuite/test_parsing/n_number_with_leading_zero.json",
|
||||||
|
@ -672,7 +671,7 @@ TEST_CASE("nst's JSONTestSuite")
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_1_surrogate_then_escape u1x.json",
|
"test/data/nst_json_testsuite/test_parsing/n_string_1_surrogate_then_escape u1x.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_1_surrogate_then_escape.json",
|
"test/data/nst_json_testsuite/test_parsing/n_string_1_surrogate_then_escape.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_UTF-16_incomplete_surrogate.json",
|
"test/data/nst_json_testsuite/test_parsing/n_string_UTF-16_incomplete_surrogate.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_UTF8_surrogate_U+D800.json",
|
//"test/data/nst_json_testsuite/test_parsing/n_string_UTF8_surrogate_U+D800.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_accentuated_char_no_quotes.json",
|
"test/data/nst_json_testsuite/test_parsing/n_string_accentuated_char_no_quotes.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_backslash_00.json",
|
"test/data/nst_json_testsuite/test_parsing/n_string_backslash_00.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_escape_x.json",
|
"test/data/nst_json_testsuite/test_parsing/n_string_escape_x.json",
|
||||||
|
@ -685,15 +684,15 @@ TEST_CASE("nst's JSONTestSuite")
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_invalid-utf-8-in-escape.json",
|
"test/data/nst_json_testsuite/test_parsing/n_string_invalid-utf-8-in-escape.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_invalid_backslash_esc.json",
|
"test/data/nst_json_testsuite/test_parsing/n_string_invalid_backslash_esc.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_invalid_unicode_escape.json",
|
"test/data/nst_json_testsuite/test_parsing/n_string_invalid_unicode_escape.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_invalid_utf-8.json",
|
//"test/data/nst_json_testsuite/test_parsing/n_string_invalid_utf-8.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_invalid_utf8_after_escape.json",
|
"test/data/nst_json_testsuite/test_parsing/n_string_invalid_utf8_after_escape.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_iso_latin_1.json",
|
//"test/data/nst_json_testsuite/test_parsing/n_string_iso_latin_1.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_leading_uescaped_thinspace.json",
|
"test/data/nst_json_testsuite/test_parsing/n_string_leading_uescaped_thinspace.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_lone_utf8_continuation_byte.json",
|
//"test/data/nst_json_testsuite/test_parsing/n_string_lone_utf8_continuation_byte.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_no_quotes_with_bad_escape.json",
|
"test/data/nst_json_testsuite/test_parsing/n_string_no_quotes_with_bad_escape.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_overlong_sequence_2_bytes.json",
|
//"test/data/nst_json_testsuite/test_parsing/n_string_overlong_sequence_2_bytes.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_overlong_sequence_6_bytes.json",
|
//"test/data/nst_json_testsuite/test_parsing/n_string_overlong_sequence_6_bytes.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_overlong_sequence_6_bytes_null.json",
|
//"test/data/nst_json_testsuite/test_parsing/n_string_overlong_sequence_6_bytes_null.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_single_doublequote.json",
|
"test/data/nst_json_testsuite/test_parsing/n_string_single_doublequote.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_single_quote.json",
|
"test/data/nst_json_testsuite/test_parsing/n_string_single_quote.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_single_string_no_double_quotes.json",
|
"test/data/nst_json_testsuite/test_parsing/n_string_single_string_no_double_quotes.json",
|
||||||
|
@ -703,7 +702,7 @@ TEST_CASE("nst's JSONTestSuite")
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_unescaped_tab.json",
|
"test/data/nst_json_testsuite/test_parsing/n_string_unescaped_tab.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_unicode_CapitalU.json",
|
"test/data/nst_json_testsuite/test_parsing/n_string_unicode_CapitalU.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_string_with_trailing_garbage.json",
|
"test/data/nst_json_testsuite/test_parsing/n_string_with_trailing_garbage.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_structure_100000_opening_arrays.json",
|
//!"test/data/nst_json_testsuite/test_parsing/n_structure_100000_opening_arrays.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_structure_<.>.json",
|
"test/data/nst_json_testsuite/test_parsing/n_structure_<.>.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_structure_<null>.json",
|
"test/data/nst_json_testsuite/test_parsing/n_structure_<null>.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_structure_U+2060_word_joined.json",
|
"test/data/nst_json_testsuite/test_parsing/n_structure_U+2060_word_joined.json",
|
||||||
|
@ -729,7 +728,7 @@ TEST_CASE("nst's JSONTestSuite")
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_structure_object_with_trailing_garbage.json",
|
"test/data/nst_json_testsuite/test_parsing/n_structure_object_with_trailing_garbage.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_structure_open_array_apostrophe.json",
|
"test/data/nst_json_testsuite/test_parsing/n_structure_open_array_apostrophe.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_structure_open_array_comma.json",
|
"test/data/nst_json_testsuite/test_parsing/n_structure_open_array_comma.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_structure_open_array_object.json",
|
//!"test/data/nst_json_testsuite/test_parsing/n_structure_open_array_object.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_structure_open_array_open_object.json",
|
"test/data/nst_json_testsuite/test_parsing/n_structure_open_array_open_object.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_structure_open_array_open_string.json",
|
"test/data/nst_json_testsuite/test_parsing/n_structure_open_array_open_string.json",
|
||||||
"test/data/nst_json_testsuite/test_parsing/n_structure_open_array_string.json",
|
"test/data/nst_json_testsuite/test_parsing/n_structure_open_array_string.json",
|
||||||
|
@ -761,6 +760,5 @@ TEST_CASE("nst's JSONTestSuite")
|
||||||
CHECK_THROWS_AS(j << f, std::invalid_argument);
|
CHECK_THROWS_AS(j << f, std::invalid_argument);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue