summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2021-10-27 23:05:25 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2021-10-27 23:40:05 -0400
commited292f25af499df675169e238b788dfb7dbdbc6d (patch)
treed7c1e7aaa4c07a715463104915466db924bc0ef6
parentbfb29b7289e3c4bd7803a936871e3b3fdb78e1b8 (diff)
downloadorcus-ed292f25af499df675169e238b788dfb7dbdbc6d.tar.gz
Fix make distcheck.
Turns out we don't need these *.run files to set environment variables when we can simply use AM_TESTS_ENVIRONMENT instead.
-rw-r--r--Makefile.am671
-rw-r--r--doc_example/Makefile.am38
-rwxr-xr-xdoc_example/spreadsheet-doc-1-num-and-formula.run5
-rwxr-xr-xdoc_example/spreadsheet-doc-1.run5
-rwxr-xr-xdoc_example/spreadsheet-doc-2-sheets-no-string-pool.run5
-rwxr-xr-xdoc_example/spreadsheet-doc-2-sheets-with-formula.run5
-rwxr-xr-xdoc_example/spreadsheet-doc-2-sheets-with-string-pool.run5
-rwxr-xr-xdoc_example/spreadsheet-doc-2.run5
8 files changed, 353 insertions, 386 deletions
diff --git a/Makefile.am b/Makefile.am
index d585d4c5..b3f193df 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -87,27 +87,28 @@ test_data = \
test/json-mapped/array-of-arrays-header/check.txt \
test/json-mapped/array-of-arrays-header/map.json \
test/json-mapped/array-of-arrays-header/input.json \
- test/css/basic12.css \
test/css/basic1.css \
+ test/css/basic10.css \
+ test/css/basic11.css \
+ test/css/basic12.css \
+ test/css/basic13.css \
+ test/css/basic14.css \
+ test/css/basic2.css \
test/css/basic3.css \
- test/css/test.css \
- test/css/chained1.css \
+ test/css/basic4.css \
+ test/css/basic5.css \
+ test/css/basic6.css \
test/css/basic7.css \
+ test/css/basic8.css \
test/css/basic9.css \
- test/css/basic10.css \
- test/css/basic6.css \
- test/css/basic5.css \
+ test/css/chained1.css \
+ test/css/chained2.css \
test/css/complex/callout.css \
test/css/complex/excel-html.css \
- test/css/chained2.css \
- test/css/basic11.css \
- test/css/basic4.css \
- test/css/basic14.css \
- test/css/basic8.css \
- test/css/basic2.css \
test/css/empty.css \
- test/css/basic13.css \
test/css/invalids/1.css \
+ test/css/test.css \
+ test/css/utf8-1.css \
test/csv/quoted-with-delim/check.txt \
test/csv/quoted-with-delim/input.csv \
test/csv/split-sheet/check-2.txt \
@@ -182,6 +183,8 @@ test_data = \
test/xlsx/number-format/date-time.xlsx \
test/xlsx/formula-shared/check.txt \
test/xlsx/formula-shared/input.xlsx \
+ test/xlsx/formula-with-string-results/check.txt \
+ test/xlsx/formula-with-string-results/input.xlsx \
test/xlsx/merged-cells/simple.xlsx \
test/xlsx/raw-values-1/check.txt \
test/xlsx/raw-values-1/input.xlsx \
@@ -300,349 +303,363 @@ test_data = \
test/xml/underscore-identifier/input.xml \
test/xml/bom/check.txt \
test/xml/bom/input.xml \
- test/json/validation/n_array_inner_array_no_comma.json \
- test/json/validation/n_string_accentuated_char_no_quotes.json \
- test/json/validation/y_number_real_capital_e_pos_exp.json \
- test/json/validation/n_object_with_trailing_garbage.json \
- test/json/validation/y_structure_true_in_array.json \
- test/json/validation/n_number_NaN.json \
- test/json/validation/n_structure_unclosed_array_unfinished_false.json \
- test/json/validation/n_structure_close_unopened_array.json \
- test/json/validation/n_number_.2e-3.json \
- test/json/validation/n_object_missing_semicolon.json \
+ test/xml/utf8-1/check.txt \
+ test/xml/utf8-1/input.xml \
+ test/xml/utf8-2/check.txt \
+ test/xml/utf8-2/input.xml \
+ test/json/basic1/check.txt \
+ test/json/basic1/input.json \
+ test/json/basic1/output.yaml \
+ test/json/basic2/check.txt \
+ test/json/basic2/input.json \
+ test/json/basic2/output.yaml \
+ test/json/basic3/check.txt \
+ test/json/basic3/input.json \
+ test/json/basic3/output.yaml \
+ test/json/basic4/check.txt \
+ test/json/basic4/input.json \
+ test/json/basic4/output.yaml \
+ test/json/empty-array-1/check.txt \
+ test/json/empty-array-1/input.json \
+ test/json/empty-array-2/check.txt \
+ test/json/empty-array-2/input.json \
+ test/json/empty-array-3/check.txt \
+ test/json/empty-array-3/input.json \
+ test/json/nested1/check.txt \
+ test/json/nested1/input.json \
+ test/json/nested1/output.yaml \
+ test/json/nested2/check.txt \
+ test/json/nested2/input.json \
+ test/json/nested2/output.yaml \
+ test/json/refs1/check.txt \
+ test/json/refs1/input.json \
+ test/json/refs1/ref.json \
+ test/json/swagger/check.txt \
+ test/json/swagger/input.json \
+ test/json/swagger/output.yaml \
+ test/json/to-yaml-1/check.txt \
+ test/json/to-yaml-1/input.json \
+ test/json/to-yaml-1/output.yaml \
+ test/json/validation/i_number_double_huge_neg_exp.json \
+ test/json/validation/i_number_huge_exp.json \
+ test/json/validation/i_number_neg_int_huge_exp.json \
+ test/json/validation/i_number_pos_double_huge_exp.json \
test/json/validation/i_number_real_neg_overflow.json \
- test/json/validation/y_string_uEscape.json \
- test/json/validation/n_number_invalid-utf-8-in-bigger-int.json \
- test/json/validation/y_string_surrogates_U+1D11E_MUSICAL_SYMBOL_G_CLEF.json \
- test/json/validation/i_string_utf16BE_no_BOM.json \
- test/json/validation/y_string_reservedCharacterInUTF-8_U+1BFFF.json \
- test/json/validation/n_object_garbage_at_end.json \
- test/json/validation/n_number_0.e1.json \
- test/json/validation/y_number_simple_int.json \
- test/json/validation/n_structure_array_with_unclosed_string.json \
- test/json/validation/n_number_invalid-utf-8-in-int.json \
- test/json/validation/y_string_escaped_noncharacter.json \
- test/json/validation/n_object_key_with_single_quotes.json \
- test/json/validation/y_object_duplicated_key.json \
- test/json/validation/n_array_unclosed.json \
- test/json/validation/n_object_no-colon.json \
- test/json/validation/n_structure_incomplete_UTF8_BOM.json \
- test/json/validation/n_number_real_without_fractional_part.json \
+ test/json/validation/i_number_real_pos_overflow.json \
+ test/json/validation/i_number_real_underflow.json \
+ test/json/validation/i_number_too_big_neg_int.json \
+ test/json/validation/i_number_too_big_pos_int.json \
+ test/json/validation/i_number_very_big_negative_int.json \
+ test/json/validation/i_object_key_lone_2nd_surrogate.json \
+ test/json/validation/i_string_1st_surrogate_but_2nd_missing.json \
+ test/json/validation/i_string_1st_valid_surrogate_2nd_invalid.json \
+ test/json/validation/i_string_incomplete_surrogate_and_escape_valid.json \
test/json/validation/i_string_incomplete_surrogate_pair.json \
- test/json/validation/y_string_unicode_U+FFFE_nonchar.json \
- test/json/validation/y_array_empty-string.json \
- test/json/validation/n_array_missing_value.json \
- test/json/validation/n_number_Inf.json \
- test/json/validation/y_array_with_leading_space.json \
- test/json/validation/n_single_space.json \
- test/json/validation/n_string_single_string_no_double_quotes.json \
- test/json/validation/n_number_minus_space_1.json \
- test/json/validation/y_array_ending_with_newline.json \
- test/json/validation/n_object_two_commas_in_a_row.json \
- test/json/validation/y_string_with_del_character.json \
+ test/json/validation/i_string_incomplete_surrogates_escape_valid.json \
+ test/json/validation/i_string_invalid_lonely_surrogate.json \
+ test/json/validation/i_string_invalid_surrogate.json \
+ test/json/validation/i_string_invalid_utf-8.json \
+ test/json/validation/i_string_inverted_surrogates_U+1D11E.json \
+ test/json/validation/i_string_iso_latin_1.json \
+ test/json/validation/i_string_lone_second_surrogate.json \
+ test/json/validation/i_string_lone_utf8_continuation_byte.json \
test/json/validation/i_string_not_in_unicode_range.json \
- test/json/validation/n_structure_open_object_close_array.json \
- test/json/validation/y_number_real_capital_e.json \
- test/json/validation/n_structure_no_data.json \
- test/json/validation/n_structure_lone-open-bracket.json \
- test/json/validation/n_string_1_surrogate_then_escape_u1x.json \
- test/json/validation/i_number_real_pos_overflow.json \
- test/json/validation/n_number_+Inf.json \
- test/json/validation/y_string_comments.json \
- test/json/validation/n_string_incomplete_surrogate_escape_invalid.json \
- test/json/validation/i_number_huge_exp.json \
- test/json/validation/n_string_backslash_00.json \
- test/json/validation/n_object_double_colon.json \
- test/json/validation/n_array_just_comma.json \
- test/json/validation/n_array_comma_after_close.json \
- test/json/validation/n_structure_lone-invalid-utf-8.json \
- test/json/validation/y_object_empty.json \
- test/json/validation/y_number_minus_zero.json \
- test/json/validation/y_structure_string_empty.json \
+ test/json/validation/i_string_overlong_sequence_2_bytes.json \
+ test/json/validation/i_string_overlong_sequence_6_bytes.json \
+ test/json/validation/i_string_overlong_sequence_6_bytes_null.json \
+ test/json/validation/i_string_truncated-utf-8.json \
+ test/json/validation/i_string_utf16BE_no_BOM.json \
+ test/json/validation/i_string_utf16LE_no_BOM.json \
+ test/json/validation/i_string_UTF-16LE_with_BOM.json \
+ test/json/validation/i_string_UTF-8_invalid_sequence.json \
+ test/json/validation/i_string_UTF8_surrogate_U+D800.json \
+ test/json/validation/i_structure_500_nested_arrays.json \
+ test/json/validation/i_structure_UTF-8_BOM_empty_object.json \
+ test/json/validation/LICENSE \
test/json/validation/n_array_1_true_without_comma.json \
- test/json/validation/n_number_neg_real_without_int_part.json \
- test/json/validation/i_string_1st_surrogate_but_2nd_missing.json \
- test/json/validation/y_number_real_fraction_exponent.json \
- test/json/validation/y_string_space.json \
- test/json/validation/n_string_single_quote.json \
- test/json/validation/n_string_no_quotes_with_bad_escape.json \
+ test/json/validation/n_array_a_invalid_utf8.json \
+ test/json/validation/n_array_colon_instead_of_comma.json \
+ test/json/validation/n_array_comma_after_close.json \
+ test/json/validation/n_array_comma_and_number.json \
+ test/json/validation/n_array_double_comma.json \
+ test/json/validation/n_array_double_extra_comma.json \
test/json/validation/n_array_extra_close.json \
- test/json/validation/n_number_9.e+.json \
- test/json/validation/y_string_one-byte-utf-8.json \
- test/json/validation/n_structure_open_array_apostrophe.json \
+ test/json/validation/n_array_extra_comma.json \
+ test/json/validation/n_array_incomplete_invalid_value.json \
+ test/json/validation/n_array_incomplete.json \
+ test/json/validation/n_array_inner_array_no_comma.json \
+ test/json/validation/n_array_invalid_utf8.json \
+ test/json/validation/n_array_items_separated_by_semicolon.json \
+ test/json/validation/n_array_just_comma.json \
+ test/json/validation/n_array_just_minus.json \
+ test/json/validation/n_array_missing_value.json \
+ test/json/validation/n_array_newlines_unclosed.json \
+ test/json/validation/n_array_number_and_comma.json \
+ test/json/validation/n_array_number_and_several_commas.json \
+ test/json/validation/n_array_spaces_vertical_tab_formfeed.json \
+ test/json/validation/n_array_star_inside.json \
+ test/json/validation/n_array_unclosed.json \
+ test/json/validation/n_array_unclosed_trailing_comma.json \
+ test/json/validation/n_array_unclosed_with_new_lines.json \
+ test/json/validation/n_array_unclosed_with_object_inside.json \
+ test/json/validation/n_incomplete_false.json \
+ test/json/validation/n_incomplete_null.json \
+ test/json/validation/n_incomplete_true.json \
+ test/json/validation/n_multidigit_number_then_00.json \
+ test/json/validation/n_number_0.1.2.json \
test/json/validation/n_number_-01.json \
- test/json/validation/y_string_unicode_U+1FFFE_nonchar.json \
- test/json/validation/y_string_unicode_U+200B_ZERO_WIDTH_SPACE.json \
- test/json/validation/n_string_invalid_utf8_after_escape.json \
- test/json/validation/README \
test/json/validation/n_number_0.3e+.json \
- test/json/validation/n_number_minus_sign_with_trailing_garbage.json \
- test/json/validation/y_string_unicode_2.json \
- test/json/validation/n_number_0.1.2.json \
- test/json/validation/n_object_missing_colon.json \
- test/json/validation/y_structure_lonely_null.json \
+ test/json/validation/n_number_0.3e.json \
+ test/json/validation/n_number_0_capital_E+.json \
+ test/json/validation/n_number_0_capital_E.json \
+ test/json/validation/n_number_0.e1.json \
+ test/json/validation/n_number_0e+.json \
+ test/json/validation/n_number_0e.json \
+ test/json/validation/n_number_1_000.json \
+ test/json/validation/n_number_1.0e+.json \
+ test/json/validation/n_number_1.0e-.json \
+ test/json/validation/n_number_1.0e.json \
+ test/json/validation/n_number_-1.0..json \
+ test/json/validation/n_number_1eE2.json \
+ test/json/validation/n_number_+1.json \
test/json/validation/n_number_.-1.json \
- test/json/validation/y_string_unicode_U+2064_invisible_plus.json \
- test/json/validation/n_array_spaces_vertical_tab_formfeed.json \
- test/json/validation/y_string_unicode_U+FDD0_nonchar.json \
- test/json/validation/n_structure_object_with_comment.json \
+ test/json/validation/n_number_2.e+3.json \
+ test/json/validation/n_number_2.e-3.json \
test/json/validation/n_number_2.e3.json \
- test/json/validation/y_string_nonCharacterInUTF-8_U+10FFFF.json \
- test/json/validation/n_structure_null-byte-outside-string.json \
- test/json/validation/y_object.json \
- test/json/validation/n_string_1_surrogate_then_escape_u1.json \
- test/json/validation/n_number_1.0e-.json \
- test/json/validation/y_number_0e1.json \
- test/json/validation/n_structure_single_eacute.json \
- test/json/validation/n_structure_end_array.json \
- test/json/validation/y_structure_lonely_int.json \
- test/json/validation/y_object_basic.json \
- test/json/validation/n_structure_comma_instead_of_closing_brace.json \
- test/json/validation/n_number_neg_int_starting_with_zero.json \
- test/json/validation/y_number_after_space.json \
- test/json/validation/y_object_long_strings.json \
- test/json/validation/y_structure_trailing_newline.json \
- test/json/validation/n_string_escaped_emoji.json \
- test/json/validation/y_object_simple.json \
- test/json/validation/i_number_real_underflow.json \
- test/json/validation/i_string_UTF-8_invalid_sequence.json \
- test/json/validation/n_structure_object_followed_by_closing_object.json \
+ test/json/validation/n_number_.2e-3.json \
+ test/json/validation/n_number_-2..json \
+ test/json/validation/n_number_9.e+.json \
+ test/json/validation/n_number_expression.json \
test/json/validation/n_number_hex_1_digit.json \
- test/json/validation/i_string_incomplete_surrogate_and_escape_valid.json \
- test/json/validation/n_structure_angle_bracket_null.json \
- test/json/validation/n_string_invalid_unicode_escape.json \
- test/json/validation/y_string_pi.json \
- test/json/validation/y_structure_lonely_negative_real.json \
test/json/validation/n_number_hex_2_digits.json \
- test/json/validation/i_string_UTF8_surrogate_U+D800.json \
- test/json/validation/y_number_real_exponent.json \
- test/json/validation/y_string_last_surrogates_1_and_2.json \
- test/json/validation/n_string_unescaped_crtl_char.json \
- test/json/validation/y_string_u+2029_par_sep.json \
- test/json/validation/n_object_unterminated-value.json \
- test/json/validation/i_string_overlong_sequence_2_bytes.json \
- test/json/validation/y_object_string_unicode.json \
- test/json/validation/y_object_empty_key.json \
- test/json/validation/n_array_invalid_utf8.json \
- test/json/validation/n_incomplete_false.json \
- test/json/validation/n_structure_open_array_object.json \
- test/json/validation/i_string_invalid_lonely_surrogate.json \
- test/json/validation/n_object_unquoted_key.json \
- test/json/validation/n_array_double_comma.json \
- test/json/validation/i_structure_500_nested_arrays.json \
- test/json/validation/y_string_accepted_surrogate_pair.json \
- test/json/validation/n_structure_open_array_open_object.json \
+ test/json/validation/n_number_infinity.json \
+ test/json/validation/n_number_+Inf.json \
+ test/json/validation/n_number_Inf.json \
+ test/json/validation/n_number_invalid+-.json \
test/json/validation/n_number_invalid-negative-real.json \
- test/json/validation/n_array_just_minus.json \
- test/json/validation/i_string_invalid_utf-8.json \
- test/json/validation/n_string_leading_uescaped_thinspace.json \
- test/json/validation/y_number_simple_real.json \
- test/json/validation/n_number_-2..json \
- test/json/validation/n_object_missing_key.json \
- test/json/validation/n_structure_open_object.json \
- test/json/validation/n_structure_open_object_comma.json \
- test/json/validation/n_structure_number_with_trailing_garbage.json \
- test/json/validation/n_structure_open_array_string.json \
- test/json/validation/y_object_extreme_numbers.json \
- test/json/validation/y_object_escaped_null_in_key.json \
- test/json/validation/n_object_trailing_comment_slash_open_incomplete.json \
- test/json/validation/i_string_lone_utf8_continuation_byte.json \
- test/json/validation/y_array_empty.json \
+ test/json/validation/n_number_invalid-utf-8-in-bigger-int.json \
+ test/json/validation/n_number_invalid-utf-8-in-exponent.json \
+ test/json/validation/n_number_invalid-utf-8-in-int.json \
+ test/json/validation/n_number_++.json \
+ test/json/validation/n_number_minus_infinity.json \
+ test/json/validation/n_number_minus_sign_with_trailing_garbage.json \
+ test/json/validation/n_number_minus_space_1.json \
+ test/json/validation/n_number_-NaN.json \
+ test/json/validation/n_number_NaN.json \
+ test/json/validation/n_number_neg_int_starting_with_zero.json \
+ test/json/validation/n_number_neg_real_without_int_part.json \
+ test/json/validation/n_number_neg_with_garbage_at_end.json \
+ test/json/validation/n_number_real_garbage_after_e.json \
+ test/json/validation/n_number_real_with_invalid_utf8_after_e.json \
+ test/json/validation/n_number_real_without_fractional_part.json \
+ test/json/validation/n_number_starting_with_dot.json \
+ test/json/validation/n_number_U+FF11_fullwidth_digit_one.json \
+ test/json/validation/n_number_with_alpha_char.json \
+ test/json/validation/n_number_with_alpha.json \
+ test/json/validation/n_number_with_leading_zero.json \
+ test/json/validation/n_object_bad_value.json \
test/json/validation/n_object_bracket_key.json \
- test/json/validation/n_object_trailing_comment.json \
- test/json/validation/y_string_three-byte-utf-8.json \
- test/json/validation/y_string_unicode_U+10FFFE_nonchar.json \
- test/json/validation/i_string_iso_latin_1.json \
- test/json/validation/y_object_duplicated_key_and_value.json \
- test/json/validation/y_structure_lonely_string.json \
- test/json/validation/y_string_uescaped_newline.json \
- test/json/validation/y_string_utf8.json \
- test/json/validation/y_string_null_escape.json \
- test/json/validation/n_number_-1.0..json \
- test/json/validation/y_string_in_array.json \
+ test/json/validation/n_object_comma_instead_of_colon.json \
+ test/json/validation/n_object_double_colon.json \
+ test/json/validation/n_object_emoji.json \
+ test/json/validation/n_object_garbage_at_end.json \
+ test/json/validation/n_object_key_with_single_quotes.json \
+ test/json/validation/n_object_lone_continuation_byte_in_key_and_trailing_comma.json \
+ test/json/validation/n_object_missing_colon.json \
+ test/json/validation/n_object_missing_key.json \
+ test/json/validation/n_object_missing_semicolon.json \
test/json/validation/n_object_missing_value.json \
- test/json/validation/n_array_newlines_unclosed.json \
- test/json/validation/n_string_1_surrogate_then_escape_u.json \
- test/json/validation/n_number_0e.json \
- test/json/validation/n_string_single_doublequote.json \
- test/json/validation/n_number_with_leading_zero.json \
- test/json/validation/y_number.json \
- test/json/validation/n_structure_array_trailing_garbage.json \
- test/json/validation/y_array_arraysWithSpaces.json \
- test/json/validation/i_object_key_lone_2nd_surrogate.json \
- test/json/validation/y_array_false.json \
- test/json/validation/n_structure_object_with_trailing_garbage.json \
- test/json/validation/n_structure_single_star.json \
- test/json/validation/n_object_trailing_comment_slash_open.json \
- test/json/validation/y_structure_whitespace_array.json \
- test/json/validation/y_string_allowed_escapes.json \
- test/json/validation/n_structure_capitalized_True.json \
- test/json/validation/n_structure_ascii-unicode-identifier.json \
- test/json/validation/y_string_nbsp_uescaped.json \
- test/json/validation/n_array_incomplete.json \
- test/json/validation/n_structure_U+2060_word_joined.json \
- test/json/validation/i_number_too_big_pos_int.json \
- test/json/validation/n_string_start_escape_unclosed.json \
- test/json/validation/n_structure_100000_opening_arrays.json \
- test/json/validation/n_string_incomplete_escape.json \
- test/json/validation/y_number_negative_zero.json \
- test/json/validation/y_string_escaped_control_character.json \
- test/json/validation/n_structure_unicode-identifier.json \
- test/json/validation/n_array_number_and_comma.json \
- test/json/validation/i_string_1st_valid_surrogate_2nd_invalid.json \
- test/json/validation/n_string_unescaped_newline.json \
- test/json/validation/y_structure_lonely_false.json \
- test/json/validation/n_structure_open_array_comma.json \
- test/json/validation/y_object_with_newlines.json \
- test/json/validation/n_structure_open_object_open_string.json \
- test/json/validation/y_array_with_1_and_newline.json \
- test/json/validation/i_number_double_huge_neg_exp.json \
- test/json/validation/y_string_nonCharacterInUTF-8_U+FFFF.json \
- test/json/validation/n_number_2.e-3.json \
+ test/json/validation/n_object_no-colon.json \
+ test/json/validation/n_object_non_string_key_but_huge_number_instead.json \
+ test/json/validation/n_object_non_string_key.json \
+ test/json/validation/n_object_repeated_null_null.json \
+ test/json/validation/n_object_several_trailing_commas.json \
test/json/validation/n_object_single_quote.json \
- test/json/validation/n_structure_uescaped_LF_before_string.json \
- test/json/validation/y_array_with_several_null.json \
- test/json/validation/n_multidigit_number_then_00.json \
- test/json/validation/y_string_double_escape_n.json \
+ test/json/validation/n_object_trailing_comma.json \
+ test/json/validation/n_object_trailing_comment.json \
+ test/json/validation/n_object_trailing_comment_open.json \
+ test/json/validation/n_object_trailing_comment_slash_open_incomplete.json \
+ test/json/validation/n_object_trailing_comment_slash_open.json \
+ test/json/validation/n_object_two_commas_in_a_row.json \
+ test/json/validation/n_object_unquoted_key.json \
+ test/json/validation/n_object_unterminated-value.json \
+ test/json/validation/n_object_with_single_string.json \
+ test/json/validation/n_object_with_trailing_garbage.json \
+ test/json/validation/n_single_space.json \
test/json/validation/n_string_1_surrogate_then_escape.json \
- test/json/validation/n_number_real_garbage_after_e.json \
- test/json/validation/i_string_truncated-utf-8.json \
- test/json/validation/n_structure_open_open.json \
- test/json/validation/n_structure_angle_bracket_..json \
+ test/json/validation/n_string_1_surrogate_then_escape_u1.json \
+ test/json/validation/n_string_1_surrogate_then_escape_u1x.json \
+ test/json/validation/n_string_1_surrogate_then_escape_u.json \
+ test/json/validation/n_string_accentuated_char_no_quotes.json \
+ test/json/validation/n_string_backslash_00.json \
+ test/json/validation/n_string_escaped_backslash_bad.json \
+ test/json/validation/n_string_escaped_ctrl_char_tab.json \
+ test/json/validation/n_string_escaped_emoji.json \
test/json/validation/n_string_escape_x.json \
- test/json/validation/n_number_0e+.json \
- test/json/validation/n_array_unclosed_trailing_comma.json \
- test/json/validation/n_string_invalid_backslash_esc.json \
- test/json/validation/y_number_real_pos_exponent.json \
- test/json/validation/y_structure_lonely_true.json \
- test/json/validation/n_number_with_alpha.json \
- test/json/validation/n_number_++.json \
- test/json/validation/n_array_colon_instead_of_comma.json \
- test/json/validation/n_number_1.0e+.json \
- test/json/validation/i_string_lone_second_surrogate.json \
- test/json/validation/i_string_invalid_surrogate.json \
+ test/json/validation/n_string_incomplete_escaped_character.json \
+ test/json/validation/n_string_incomplete_escape.json \
+ test/json/validation/n_string_incomplete_surrogate_escape_invalid.json \
test/json/validation/n_string_incomplete_surrogate.json \
- test/json/validation/n_number_neg_with_garbage_at_end.json \
- test/json/validation/n_object_several_trailing_commas.json \
- test/json/validation/y_string_unescaped_char_delete.json \
+ test/json/validation/n_string_invalid_backslash_esc.json \
+ test/json/validation/n_string_invalid_unicode_escape.json \
+ test/json/validation/n_string_invalid_utf8_after_escape.json \
test/json/validation/n_string_invalid-utf-8-in-escape.json \
- test/json/validation/n_structure_object_unclosed_no_value.json \
- test/json/validation/y_string_unicodeEscapedBackslash.json \
- test/json/validation/n_number_real_with_invalid_utf8_after_e.json \
- test/json/validation/i_structure_UTF-8_BOM_empty_object.json \
- test/json/validation/n_structure_trailing_\#.json \
- test/json/validation/y_string_unicode_escaped_double_quote.json \
- test/json/validation/n_number_U+FF11_fullwidth_digit_one.json \
- test/json/validation/n_object_trailing_comment_open.json \
- test/json/validation/n_array_extra_comma.json \
- test/json/validation/y_number_real_neg_exp.json \
- test/json/validation/n_string_escaped_backslash_bad.json \
- test/json/validation/y_string_1_2_3_bytes_UTF-8_sequences.json \
- test/json/validation/n_number_infinity.json \
- test/json/validation/n_string_with_trailing_garbage.json \
- test/json/validation/n_object_lone_continuation_byte_in_key_and_trailing_comma.json \
- test/json/validation/n_number_-NaN.json \
+ test/json/validation/n_string_leading_uescaped_thinspace.json \
+ test/json/validation/n_string_no_quotes_with_bad_escape.json \
+ test/json/validation/n_string_single_doublequote.json \
+ test/json/validation/n_string_single_quote.json \
+ test/json/validation/n_string_single_string_no_double_quotes.json \
+ test/json/validation/n_string_start_escape_unclosed.json \
+ test/json/validation/n_string_unescaped_crtl_char.json \
+ test/json/validation/n_string_unescaped_newline.json \
+ test/json/validation/n_string_unescaped_tab.json \
test/json/validation/n_string_unicode_CapitalU.json \
+ test/json/validation/n_string_with_trailing_garbage.json \
+ test/json/validation/n_structure_100000_opening_arrays.json \
+ test/json/validation/n_structure_angle_bracket_..json \
+ test/json/validation/n_structure_angle_bracket_null.json \
+ test/json/validation/n_structure_array_trailing_garbage.json \
+ test/json/validation/n_structure_array_with_extra_array_close.json \
+ test/json/validation/n_structure_array_with_unclosed_string.json \
+ test/json/validation/n_structure_ascii-unicode-identifier.json \
+ test/json/validation/n_structure_capitalized_True.json \
+ test/json/validation/n_structure_close_unopened_array.json \
+ test/json/validation/n_structure_comma_instead_of_closing_brace.json \
test/json/validation/n_structure_double_array.json \
+ test/json/validation/n_structure_end_array.json \
+ test/json/validation/n_structure_incomplete_UTF8_BOM.json \
+ test/json/validation/n_structure_lone-invalid-utf-8.json \
+ test/json/validation/n_structure_lone-open-bracket.json \
+ test/json/validation/n_structure_no_data.json \
+ test/json/validation/n_structure_null-byte-outside-string.json \
+ test/json/validation/n_structure_number_with_trailing_garbage.json \
+ test/json/validation/n_structure_object_followed_by_closing_object.json \
+ test/json/validation/n_structure_object_unclosed_no_value.json \
+ test/json/validation/n_structure_object_with_comment.json \
+ test/json/validation/n_structure_object_with_trailing_garbage.json \
+ test/json/validation/n_structure_open_array_apostrophe.json \
+ test/json/validation/n_structure_open_array_comma.json \
+ test/json/validation/n_structure_open_array_object.json \
+ test/json/validation/n_structure_open_array_open_object.json \
+ test/json/validation/n_structure_open_array_open_string.json \
+ test/json/validation/n_structure_open_array_string.json \
+ test/json/validation/n_structure_open_object_close_array.json \
+ test/json/validation/n_structure_open_object_comma.json \
+ test/json/validation/n_structure_open_object.json \
test/json/validation/n_structure_open_object_open_array.json \
- test/json/validation/y_number_negative_one.json \
- test/json/validation/n_number_1_000.json \
- test/json/validation/y_number_int_with_exp.json \
- test/json/validation/n_structure_unclosed_array_partial_null.json \
- test/json/validation/n_number_1.0e.json \
- test/json/validation/i_number_very_big_negative_int.json \
- test/json/validation/n_object_repeated_null_null.json \
- test/json/validation/i_number_too_big_neg_int.json \
- test/json/validation/n_structure_unclosed_array.json \
- test/json/validation/n_array_incomplete_invalid_value.json \
- test/json/validation/n_object_trailing_comma.json \
- test/json/validation/y_string_double_escape_a.json \
- test/json/validation/y_string_u+2028_line_sep.json \
- test/json/validation/n_array_number_and_several_commas.json \
- test/json/validation/i_string_incomplete_surrogates_escape_valid.json \
- test/json/validation/i_number_pos_double_huge_exp.json \
- test/json/validation/n_string_incomplete_escaped_character.json \
- test/json/validation/y_array_null.json \
- test/json/validation/n_number_2.e+3.json \
- test/json/validation/n_structure_whitespace_U+2060_word_joiner.json \
- test/json/validation/n_number_invalid+-.json \
- test/json/validation/y_number_double_close_to_zero.json \
- test/json/validation/n_array_unclosed_with_new_lines.json \
+ test/json/validation/n_structure_open_object_open_string.json \
test/json/validation/n_structure_open_object_string_with_apostrophes.json \
- test/json/validation/n_incomplete_null.json \
- test/json/validation/n_number_1eE2.json \
- test/json/validation/n_array_items_separated_by_semicolon.json \
- test/json/validation/n_number_expression.json \
- test/json/validation/n_object_non_string_key.json \
- test/json/validation/n_number_0_capital_E.json \
- test/json/validation/y_string_unicode.json \
- test/json/validation/i_number_neg_int_huge_exp.json \
- test/json/validation/y_string_simple_ascii.json \
- test/json/validation/n_array_a_invalid_utf8.json \
- test/json/validation/n_number_minus_infinity.json \
- test/json/validation/i_string_utf16LE_no_BOM.json \
- test/json/validation/i_string_overlong_sequence_6_bytes.json \
- test/json/validation/i_string_inverted_surrogates_U+1D11E.json \
- test/json/validation/n_number_+1.json \
- test/json/validation/n_number_invalid-utf-8-in-exponent.json \
- test/json/validation/y_string_accepted_surrogate_pairs.json \
- test/json/validation/n_incomplete_true.json \
- test/json/validation/y_string_backslash_doublequotes.json \
- test/json/validation/n_structure_whitespace_formfeed.json \
- test/json/validation/n_structure_unclosed_object.json \
- test/json/validation/n_array_unclosed_with_object_inside.json \
- test/json/validation/y_string_two-byte-utf-8.json \
- test/json/validation/n_structure_array_with_extra_array_close.json \
- test/json/validation/n_object_comma_instead_of_colon.json \
- test/json/validation/LICENSE \
- test/json/validation/y_number_negative_int.json \
- test/json/validation/n_object_emoji.json \
+ test/json/validation/n_structure_open_open.json \
+ test/json/validation/n_structure_single_eacute.json \
+ test/json/validation/n_structure_single_star.json \
+ test/json/validation/n_structure_trailing_\#.json \
+ test/json/validation/n_structure_U+2060_word_joined.json \
+ test/json/validation/n_structure_uescaped_LF_before_string.json \
+ test/json/validation/n_structure_unclosed_array.json \
+ test/json/validation/n_structure_unclosed_array_partial_null.json \
+ test/json/validation/n_structure_unclosed_array_unfinished_false.json \
test/json/validation/n_structure_unclosed_array_unfinished_true.json \
- test/json/validation/n_number_starting_with_dot.json \
+ test/json/validation/n_structure_unclosed_object.json \
+ test/json/validation/n_structure_unicode-identifier.json \
test/json/validation/n_structure_UTF8_BOM_no_data.json \
- test/json/validation/y_string_in_array_with_leading_space.json \
- test/json/validation/i_string_overlong_sequence_6_bytes_null.json \
- test/json/validation/n_array_star_inside.json \
- test/json/validation/y_array_with_trailing_space.json \
- test/json/validation/n_array_double_extra_comma.json \
- test/json/validation/n_number_with_alpha_char.json \
- test/json/validation/n_object_bad_value.json \
- test/json/validation/n_number_0.3e.json \
- test/json/validation/n_object_with_single_string.json \
+ test/json/validation/n_structure_whitespace_formfeed.json \
+ test/json/validation/n_structure_whitespace_U+2060_word_joiner.json \
+ test/json/validation/README \
+ test/json/validation/y_array_arraysWithSpaces.json \
+ test/json/validation/y_array_empty.json \
+ test/json/validation/y_array_empty-string.json \
+ test/json/validation/y_array_ending_with_newline.json \
+ test/json/validation/y_array_false.json \
test/json/validation/y_array_heterogeneous.json \
- test/json/validation/n_array_comma_and_number.json \
- test/json/validation/n_string_escaped_ctrl_char_tab.json \
+ test/json/validation/y_array_null.json \
+ test/json/validation/y_array_with_1_and_newline.json \
+ test/json/validation/y_array_with_leading_space.json \
+ test/json/validation/y_array_with_several_null.json \
+ test/json/validation/y_array_with_trailing_space.json \
test/json/validation/y_number_0e+1.json \
- test/json/validation/n_structure_open_array_open_string.json \
- test/json/validation/n_object_non_string_key_but_huge_number_instead.json \
+ test/json/validation/y_number_0e1.json \
+ test/json/validation/y_number_after_space.json \
+ test/json/validation/y_number_double_close_to_zero.json \
+ test/json/validation/y_number_int_with_exp.json \
+ test/json/validation/y_number.json \
+ test/json/validation/y_number_minus_zero.json \
+ test/json/validation/y_number_negative_int.json \
+ test/json/validation/y_number_negative_one.json \
+ test/json/validation/y_number_negative_zero.json \
+ test/json/validation/y_number_real_capital_e.json \
test/json/validation/y_number_real_capital_e_neg_exp.json \
+ test/json/validation/y_number_real_capital_e_pos_exp.json \
+ test/json/validation/y_number_real_exponent.json \
+ test/json/validation/y_number_real_fraction_exponent.json \
+ test/json/validation/y_number_real_neg_exp.json \
+ test/json/validation/y_number_real_pos_exponent.json \
+ test/json/validation/y_number_simple_int.json \
+ test/json/validation/y_number_simple_real.json \
+ test/json/validation/y_object_basic.json \
+ test/json/validation/y_object_duplicated_key_and_value.json \
+ test/json/validation/y_object_duplicated_key.json \
+ test/json/validation/y_object_empty.json \
+ test/json/validation/y_object_empty_key.json \
+ test/json/validation/y_object_escaped_null_in_key.json \
+ test/json/validation/y_object_extreme_numbers.json \
+ test/json/validation/y_object.json \
+ test/json/validation/y_object_long_strings.json \
+ test/json/validation/y_object_simple.json \
+ test/json/validation/y_object_string_unicode.json \
+ test/json/validation/y_object_with_newlines.json \
+ test/json/validation/y_string_1_2_3_bytes_UTF-8_sequences.json \
+ test/json/validation/y_string_accepted_surrogate_pair.json \
+ test/json/validation/y_string_accepted_surrogate_pairs.json \
+ test/json/validation/y_string_allowed_escapes.json \
test/json/validation/y_string_backslash_and_u_escaped_zero.json \
- test/json/validation/i_string_UTF-16LE_with_BOM.json \
- test/json/validation/n_string_unescaped_tab.json \
- test/json/validation/n_number_0_capital_E+.json \
- test/json/basic2/check.txt \
- test/json/basic2/input.json \
- test/json/basic4/check.txt \
- test/json/basic4/input.json \
- test/json/empty-array-1/check.txt \
- test/json/empty-array-1/input.json \
- test/json/swagger/check.txt \
- test/json/swagger/input.json \
- test/json/nested1/check.txt \
- test/json/nested1/input.json \
- test/json/nested2/check.txt \
- test/json/nested2/input.json \
- test/json/empty-array-2/check.txt \
- test/json/empty-array-2/input.json \
- test/json/basic1/check.txt \
- test/json/basic1/input.json \
- test/json/refs1/check.txt \
- test/json/refs1/ref.json \
- test/json/refs1/input.json \
- test/json/basic3/check.txt \
- test/json/basic3/input.json \
- test/json/empty-array-3/check.txt \
- test/json/empty-array-3/input.json \
+ test/json/validation/y_string_backslash_doublequotes.json \
+ test/json/validation/y_string_comments.json \
+ test/json/validation/y_string_double_escape_a.json \
+ test/json/validation/y_string_double_escape_n.json \
+ test/json/validation/y_string_escaped_control_character.json \
+ test/json/validation/y_string_escaped_noncharacter.json \
+ test/json/validation/y_string_in_array.json \
+ test/json/validation/y_string_in_array_with_leading_space.json \
+ test/json/validation/y_string_last_surrogates_1_and_2.json \
+ test/json/validation/y_string_nbsp_uescaped.json \
+ test/json/validation/y_string_nonCharacterInUTF-8_U+10FFFF.json \
+ test/json/validation/y_string_nonCharacterInUTF-8_U+FFFF.json \
+ test/json/validation/y_string_null_escape.json \
+ test/json/validation/y_string_one-byte-utf-8.json \
+ test/json/validation/y_string_pi.json \
+ test/json/validation/y_string_reservedCharacterInUTF-8_U+1BFFF.json \
+ test/json/validation/y_string_simple_ascii.json \
+ test/json/validation/y_string_space.json \
+ test/json/validation/y_string_surrogates_U+1D11E_MUSICAL_SYMBOL_G_CLEF.json \
+ test/json/validation/y_string_three-byte-utf-8.json \
+ test/json/validation/y_string_two-byte-utf-8.json \
+ test/json/validation/y_string_u+2028_line_sep.json \
+ test/json/validation/y_string_u+2029_par_sep.json \
+ test/json/validation/y_string_uescaped_newline.json \
+ test/json/validation/y_string_uEscape.json \
+ test/json/validation/y_string_unescaped_char_delete.json \
+ test/json/validation/y_string_unicode_2.json \
+ test/json/validation/y_string_unicodeEscapedBackslash.json \
+ test/json/validation/y_string_unicode_escaped_double_quote.json \
+ test/json/validation/y_string_unicode.json \
+ test/json/validation/y_string_unicode_U+10FFFE_nonchar.json \
+ test/json/validation/y_string_unicode_U+1FFFE_nonchar.json \
+ test/json/validation/y_string_unicode_U+200B_ZERO_WIDTH_SPACE.json \
+ test/json/validation/y_string_unicode_U+2064_invisible_plus.json \
+ test/json/validation/y_string_unicode_U+FDD0_nonchar.json \
+ test/json/validation/y_string_unicode_U+FFFE_nonchar.json \
+ test/json/validation/y_string_utf8.json \
+ test/json/validation/y_string_with_del_character.json \
+ test/json/validation/y_structure_lonely_false.json \
+ test/json/validation/y_structure_lonely_int.json \
+ test/json/validation/y_structure_lonely_negative_real.json \
+ test/json/validation/y_structure_lonely_null.json \
+ test/json/validation/y_structure_lonely_string.json \
+ test/json/validation/y_structure_lonely_true.json \
+ test/json/validation/y_structure_string_empty.json \
+ test/json/validation/y_structure_trailing_newline.json \
+ test/json/validation/y_structure_true_in_array.json \
+ test/json/validation/y_structure_whitespace_array.json \
test/python/file_load_common.py \
test/python/perf/test_json.py \
test/python/test_csv_export.py \
diff --git a/doc_example/Makefile.am b/doc_example/Makefile.am
index 31544448..a5c34c88 100644
--- a/doc_example/Makefile.am
+++ b/doc_example/Makefile.am
@@ -18,14 +18,6 @@ EXTRA_PROGRAMS = \
spreadsheet-doc-2-sheets-with-string-pool \
spreadsheet-doc-2-sheets-with-formula
-EXTRA_DIST = \
- spreadsheet-doc-1.run \
- spreadsheet-doc-1-num-and-formula.run \
- spreadsheet-doc-2.run \
- spreadsheet-doc-2-sheets-no-string-pool.run \
- spreadsheet-doc-2-sheets-with-string-pool.run \
- spreadsheet-doc-2-sheets-with-formula.run
-
json_doc_1_SOURCES = \
json_doc_1.cpp
@@ -99,21 +91,6 @@ spreadsheet_doc_2_sheets_with_formula_LDADD = \
../src/parser/liborcus-parser-@ORCUS_API_VERSION@.la \
../src/liborcus/liborcus-@ORCUS_API_VERSION@.la
-spreadsheet-doc-1.run: spreadsheet-doc-1
-spreadsheet-doc-1-num-and-formula.run: spreadsheet-doc-1-num-and-formula
-spreadsheet-doc-2.run: spreadsheet-doc-2
-spreadsheet-doc-2-sheets-no-string-pool.run: spreadsheet-doc-2-sheets-no-string-pool
-spreadsheet-doc-2-sheets-with-string-pool.run: spreadsheet-doc-2-sheets-with-string-pool
-spreadsheet-doc-2-sheets-with-formula.run: spreadsheet-doc-2-sheets-with-formula
-
-.PHONY: \
- spreadsheet-doc-1.run \
- spreadsheet-doc-1-num-and-formula.run \
- spreadsheet-doc-2.run \
- spreadsheet-doc-2-sheets-no-string-pool.run \
- spreadsheet-doc-2-sheets-with-string-pool.run \
- spreadsheet-doc-2-sheets-with-formula.run
-
TEST_BINS = \
json-doc-1 \
json-doc-2 \
@@ -126,17 +103,20 @@ TEST_BINS = \
spreadsheet-doc-2-sheets-with-string-pool \
spreadsheet-doc-2-sheets-with-formula
+AM_TESTS_ENVIRONMENT = \
+ INPUTDIR=$(srcdir)/files; export INPUTDIR;
+
TESTS = \
json-doc-1 \
json-doc-2 \
json-parser-1 \
xml-mapping-1 \
- spreadsheet-doc-1.run \
- spreadsheet-doc-1-num-and-formula.run \
- spreadsheet-doc-2.run \
- spreadsheet-doc-2-sheets-no-string-pool.run \
- spreadsheet-doc-2-sheets-with-string-pool.run \
- spreadsheet-doc-2-sheets-with-formula.run
+ spreadsheet-doc-1 \
+ spreadsheet-doc-1-num-and-formula \
+ spreadsheet-doc-2 \
+ spreadsheet-doc-2-sheets-no-string-pool \
+ spreadsheet-doc-2-sheets-with-string-pool \
+ spreadsheet-doc-2-sheets-with-formula
distclean-local:
rm -rf $(TEST_BINS)
diff --git a/doc_example/spreadsheet-doc-1-num-and-formula.run b/doc_example/spreadsheet-doc-1-num-and-formula.run
deleted file mode 100755
index 20a82168..00000000
--- a/doc_example/spreadsheet-doc-1-num-and-formula.run
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env sh
-
-export INPUTDIR=$PWD/files
-EXEC=$(echo $0 | sed -e "s/\.run$//g")
-./$EXEC
diff --git a/doc_example/spreadsheet-doc-1.run b/doc_example/spreadsheet-doc-1.run
deleted file mode 100755
index 20a82168..00000000
--- a/doc_example/spreadsheet-doc-1.run
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env sh
-
-export INPUTDIR=$PWD/files
-EXEC=$(echo $0 | sed -e "s/\.run$//g")
-./$EXEC
diff --git a/doc_example/spreadsheet-doc-2-sheets-no-string-pool.run b/doc_example/spreadsheet-doc-2-sheets-no-string-pool.run
deleted file mode 100755
index 20a82168..00000000
--- a/doc_example/spreadsheet-doc-2-sheets-no-string-pool.run
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env sh
-
-export INPUTDIR=$PWD/files
-EXEC=$(echo $0 | sed -e "s/\.run$//g")
-./$EXEC
diff --git a/doc_example/spreadsheet-doc-2-sheets-with-formula.run b/doc_example/spreadsheet-doc-2-sheets-with-formula.run
deleted file mode 100755
index 20a82168..00000000
--- a/doc_example/spreadsheet-doc-2-sheets-with-formula.run
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env sh
-
-export INPUTDIR=$PWD/files
-EXEC=$(echo $0 | sed -e "s/\.run$//g")
-./$EXEC
diff --git a/doc_example/spreadsheet-doc-2-sheets-with-string-pool.run b/doc_example/spreadsheet-doc-2-sheets-with-string-pool.run
deleted file mode 100755
index 20a82168..00000000
--- a/doc_example/spreadsheet-doc-2-sheets-with-string-pool.run
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env sh
-
-export INPUTDIR=$PWD/files
-EXEC=$(echo $0 | sed -e "s/\.run$//g")
-./$EXEC
diff --git a/doc_example/spreadsheet-doc-2.run b/doc_example/spreadsheet-doc-2.run
deleted file mode 100755
index 20a82168..00000000
--- a/doc_example/spreadsheet-doc-2.run
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env sh
-
-export INPUTDIR=$PWD/files
-EXEC=$(echo $0 | sed -e "s/\.run$//g")
-./$EXEC