remove all old external test cases
This commit is contained in:
parent
50133ffefd
commit
12b319eccc
84 changed files with 0 additions and 1871 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load diff
|
@ -1 +0,0 @@
|
|||
["foo","bar", "baz",[true],[false],[null],true, false, null, 0.7, {"key":"value"},[{}, null,null,null,[]],"\n\r\\", [-1]]
|
|
@ -1,29 +0,0 @@
|
|||
{name, "array"}.
|
||||
{jsx, [start_array,
|
||||
{string,<<"foo">>},
|
||||
{string,<<"bar">>},
|
||||
{string,<<"baz">>},
|
||||
start_array,
|
||||
{literal,true},
|
||||
end_array,start_array,
|
||||
{literal,false},
|
||||
end_array,start_array,
|
||||
{literal,null},
|
||||
end_array,
|
||||
{literal,true},
|
||||
{literal,false},
|
||||
{literal,null},
|
||||
{float,0.7},
|
||||
start_object,
|
||||
{key,<<"key">>},
|
||||
{string,<<"value">>},
|
||||
end_object,start_array,start_object,end_object,
|
||||
{literal,null},
|
||||
{literal,null},
|
||||
{literal,null},
|
||||
start_array,end_array,end_array,
|
||||
{string,<<"\n\r\\">>},
|
||||
start_array,
|
||||
{integer,-1},
|
||||
end_array,end_array,end_json]}.
|
||||
{json, "array.json"}.
|
|
@ -1 +0,0 @@
|
|||
["\ud801\u0032"]
|
|
@ -1,3 +0,0 @@
|
|||
{name, "bad_low_surrogate"}.
|
||||
{jsx, {error, badarg}}.
|
||||
{json, "bad_low_surrogate.json"}.
|
|
@ -1 +0,0 @@
|
|||
["\ud801\u0032"]
|
|
@ -1,4 +0,0 @@
|
|||
{name, "bad_low_surrogate_replaced"}.
|
||||
{jsx, [start_array,{string, <<16#fffd/utf8, 16#fffd/utf8>>},end_array,end_json]}.
|
||||
{json, "bad_low_surrogate_replaced.json"}.
|
||||
{jsx_flags, [replaced_bad_utf8]}.
|
|
@ -1 +0,0 @@
|
|||
1 1
|
|
@ -1,3 +0,0 @@
|
|||
{name, "bad naked number"}.
|
||||
{jsx, {error, badarg}}.
|
||||
{json, "bad_naked_number.json"}.
|
|
@ -1 +0,0 @@
|
|||
[]
|
|
@ -1,3 +0,0 @@
|
|||
{name, "byte order mark"}.
|
||||
{jsx, [start_array, end_array, end_json]}.
|
||||
{json, "bom.json"}.
|
|
@ -1,10 +0,0 @@
|
|||
// comment
|
||||
{ // comment
|
||||
"key" // comment
|
||||
: // comment
|
||||
[ // comment
|
||||
true // comment
|
||||
, // comment
|
||||
false // comment
|
||||
] // comment
|
||||
} // comment
|
|
@ -1,4 +0,0 @@
|
|||
{name, "comment_style_a"}.
|
||||
{jsx, [start_object,{key, <<"key">>}, start_array, {literal, true}, {literal, false}, end_array, end_object,end_json]}.
|
||||
{json, "comment_style_a.json"}.
|
||||
{jsx_flags, [comments]}.
|
|
@ -1 +0,0 @@
|
|||
/* comment */ { /* comment */ "key" /* comment */ : /* comment */ [ /* comment */ true /* comment */ , /* comment */ false /* comment */ ] /* comment */ } /* comment */
|
|
@ -1,4 +0,0 @@
|
|||
{name, "comment_style_a"}.
|
||||
{jsx, [start_object,{key, <<"key">>}, start_array, {literal, true}, {literal, false}, end_array, end_object,end_json]}.
|
||||
{json, "comment_style_a.json"}.
|
||||
{jsx_flags, [comments]}.
|
|
@ -1 +0,0 @@
|
|||
[[[]]]
|
|
@ -1,3 +0,0 @@
|
|||
{name, "deep array"}.
|
||||
{jsx, [start_array,start_array,start_array,end_array,end_array,end_array,end_json]}.
|
||||
{json, "deep_array.json"}.
|
|
@ -1 +0,0 @@
|
|||
[]
|
|
@ -1,3 +0,0 @@
|
|||
{name, "empty_array"}.
|
||||
{jsx, [start_array,end_array,end_json]}.
|
||||
{json, "empty_array.json"}.
|
|
@ -1 +0,0 @@
|
|||
{}
|
|
@ -1,3 +0,0 @@
|
|||
{name, "empty_object"}.
|
||||
{jsx, [start_object,end_object,end_json]}.
|
||||
{json, "empty_object.json"}.
|
|
@ -1 +0,0 @@
|
|||
[{}]
|
|
@ -1,3 +0,0 @@
|
|||
{name, "empty_object_in_array"}.
|
||||
{jsx, [start_array,start_object,end_object,end_array,end_json]}.
|
||||
{json, "empty_object_in_array.json"}.
|
|
@ -1 +0,0 @@
|
|||
""
|
|
@ -1,3 +0,0 @@
|
|||
{name, "empty_string"}.
|
||||
{jsx, [{string, <<>>},end_json]}.
|
||||
{json, "empty_string.json"}.
|
|
@ -1 +0,0 @@
|
|||
["\ud801\udc00"]
|
|
@ -1,3 +0,0 @@
|
|||
{name, "encoded_surrogates"}.
|
||||
{jsx, [start_array,{string,<<66560/utf8>>},end_array,end_json]}.
|
||||
{json, "encoded_surrogates.json"}.
|
|
@ -1 +0,0 @@
|
|||
"\u0012"
|
|
@ -1,3 +0,0 @@
|
|||
{name, "escaped_control"}.
|
||||
{jsx, [{string, <<18>>},end_json]}.
|
||||
{json, "escaped_control.json"}.
|
|
@ -1 +0,0 @@
|
|||
[ "\"\\\/\b\f\n\r\t\u0020" ]
|
|
@ -1,5 +0,0 @@
|
|||
{name, "escapes"}.
|
||||
{jsx, [start_array,
|
||||
{string,<<"\"\\/\b\f\n\r\t ">>},
|
||||
end_array,end_json]}.
|
||||
{json, "escapes.json"}.
|
|
@ -1 +0,0 @@
|
|||
[[2.0e7], 2.0e7, {"key":2.0e7, "another key":2.0E7}, 4.2e70 ]
|
|
@ -1,14 +0,0 @@
|
|||
{name, "exp"}.
|
||||
{jsx, [start_array,start_array,
|
||||
{float,2.0e7},
|
||||
end_array,
|
||||
{float,2.0e7},
|
||||
start_object,
|
||||
{key,<<"key">>},
|
||||
{float,2.0e7},
|
||||
{key,<<"another key">>},
|
||||
{float,2.0e7},
|
||||
end_object,
|
||||
{float,4.2e70},
|
||||
end_array,end_json]}.
|
||||
{json, "exp.json"}.
|
|
@ -1 +0,0 @@
|
|||
false
|
|
@ -1,3 +0,0 @@
|
|||
{name, "false"}.
|
||||
{jsx, [{literal, false},end_json]}.
|
||||
{json, "false.json"}.
|
|
@ -1 +0,0 @@
|
|||
[[2.0], 2.0, {"key":2.0e7, "another key":2.0E7}, {"key":2.0, "another key":2.0}, 4.321 ]
|
|
@ -1,19 +0,0 @@
|
|||
{name, "fraction"}.
|
||||
{jsx, [start_array,start_array,
|
||||
{float,2.0},
|
||||
end_array,
|
||||
{float,2.0},
|
||||
start_object,
|
||||
{key,<<"key">>},
|
||||
{float,2.0e7},
|
||||
{key,<<"another key">>},
|
||||
{float,2.0e7},
|
||||
end_object,start_object,
|
||||
{key,<<"key">>},
|
||||
{float,2.0},
|
||||
{key,<<"another key">>},
|
||||
{float,2.0},
|
||||
end_object,
|
||||
{float,4.321},
|
||||
end_array,end_json]}.
|
||||
{json, "fraction.json"}.
|
|
@ -1 +0,0 @@
|
|||
[[20], 20, {"key":20, "another key":20}, 42 ]
|
|
@ -1,14 +0,0 @@
|
|||
{name, "integer"}.
|
||||
{jsx, [start_array,start_array,
|
||||
{integer,20},
|
||||
end_array,
|
||||
{integer,20},
|
||||
start_object,
|
||||
{key,<<"key">>},
|
||||
{integer,20},
|
||||
{key,<<"another key">>},
|
||||
{integer,20},
|
||||
end_object,
|
||||
{integer,42},
|
||||
end_array,end_json]}.
|
||||
{json, "integer.json"}.
|
|
@ -1 +0,0 @@
|
|||
[ " 𝄞 " ]
|
|
@ -1,3 +0,0 @@
|
|||
{name, "multibyte_utf"}.
|
||||
{jsx, [start_array,{string,<<32,119070/utf8,32>>},end_array,end_json]}.
|
||||
{json, "multibyte_utf.json"}.
|
|
@ -1 +0,0 @@
|
|||
42
|
|
@ -1,3 +0,0 @@
|
|||
{name, "naked_number_a"}.
|
||||
{jsx, [{integer,42},end_json]}.
|
||||
{json, "naked_number_a.json"}.
|
|
@ -1 +0,0 @@
|
|||
-42
|
|
@ -1,3 +0,0 @@
|
|||
{name, "naked_number_b"}.
|
||||
{jsx, [{integer,-42},end_json]}.
|
||||
{json, "naked_number_b.json"}.
|
|
@ -1 +0,0 @@
|
|||
-0.7
|
|
@ -1,3 +0,0 @@
|
|||
{name, "naked_number_c"}.
|
||||
{jsx, [{float,-0.7},end_json]}.
|
||||
{json, "naked_number_c.json"}.
|
|
@ -1 +0,0 @@
|
|||
0.7
|
|
@ -1,3 +0,0 @@
|
|||
{name, "naked_number_d"}.
|
||||
{jsx, [{float,0.7},end_json]}.
|
||||
{json, "naked_number_d.json"}.
|
|
@ -1 +0,0 @@
|
|||
0
|
|
@ -1,3 +0,0 @@
|
|||
{name, "naked_number_e"}.
|
||||
{jsx, [{integer,0},end_json]}.
|
||||
{json, "naked_number_e.json"}.
|
|
@ -1 +0,0 @@
|
|||
1e100
|
|
@ -1,3 +0,0 @@
|
|||
{name, "naked_number_f"}.
|
||||
{jsx, [{float,1.0e100},end_json]}.
|
||||
{json, "naked_number_f.json"}.
|
|
@ -1 +0,0 @@
|
|||
7
|
|
@ -1,3 +0,0 @@
|
|||
{name, "naked_number_g"}.
|
||||
{jsx, [{integer,7},end_json]}.
|
||||
{json, "naked_number_g.json"}.
|
|
@ -1 +0,0 @@
|
|||
"this is a naked string"
|
|
@ -1,3 +0,0 @@
|
|||
{name, "naked_string"}.
|
||||
{jsx, [{string,<<"this is a naked string">>},end_json]}.
|
||||
{json, "naked_string.json"}.
|
|
@ -1 +0,0 @@
|
|||
[[-0], -0, {"key":-0, "another key":-0}, -0 ]
|
|
@ -1,14 +0,0 @@
|
|||
{name, "negative_zero"}.
|
||||
{jsx, [start_array,start_array,
|
||||
{integer,0},
|
||||
end_array,
|
||||
{integer,0},
|
||||
start_object,
|
||||
{key,<<"key">>},
|
||||
{integer,0},
|
||||
{key,<<"another key">>},
|
||||
{integer,0},
|
||||
end_object,
|
||||
{integer,0},
|
||||
end_array,end_json]}.
|
||||
{json, "negative_zero.json"}.
|
|
@ -1 +0,0 @@
|
|||
null
|
|
@ -1,3 +0,0 @@
|
|||
{name, "null"}.
|
||||
{jsx, [{literal, null},end_json]}.
|
||||
{json, "null.json"}.
|
|
@ -1 +0,0 @@
|
|||
[ 1, 2, 3, 4, 5, 6, 7, 8, 9, 42, 127, 99999999999999999999999999999, 1e1, 1E1, 1.0e1, 1.325e278, -1, -1e-1, 3.7e-78 ]
|
|
@ -1,23 +0,0 @@
|
|||
{name, "numbers"}.
|
||||
{jsx, [start_array,
|
||||
{integer,1},
|
||||
{integer,2},
|
||||
{integer,3},
|
||||
{integer,4},
|
||||
{integer,5},
|
||||
{integer,6},
|
||||
{integer,7},
|
||||
{integer,8},
|
||||
{integer,9},
|
||||
{integer,42},
|
||||
{integer,127},
|
||||
{integer,99999999999999999999999999999},
|
||||
{float,1.0e1},
|
||||
{float,1.0e1},
|
||||
{float,1.0e1},
|
||||
{float,1.325e278},
|
||||
{integer,-1},
|
||||
{float,-1.0e-1},
|
||||
{float,3.7e-78},
|
||||
end_array,end_json]}.
|
||||
{json, "numbers.json"}.
|
|
@ -1 +0,0 @@
|
|||
{"foo":"bar", "baz":true, "false":null,"object":{ "key" : "value" },"list":[null,null,null,[],"\n\r\\"]}
|
|
@ -1,22 +0,0 @@
|
|||
{name, "object"}.
|
||||
{jsx, [start_object,
|
||||
{key,<<"foo">>},
|
||||
{string,<<"bar">>},
|
||||
{key,<<"baz">>},
|
||||
{literal,true},
|
||||
{key,<<"false">>},
|
||||
{literal,null},
|
||||
{key,<<"object">>},
|
||||
start_object,
|
||||
{key,<<"key">>},
|
||||
{string,<<"value">>},
|
||||
end_object,
|
||||
{key,<<"list">>},
|
||||
start_array,
|
||||
{literal,null},
|
||||
{literal,null},
|
||||
{literal,null},
|
||||
start_array,end_array,
|
||||
{string,<<"\n\r\\">>},
|
||||
end_array,end_object,end_json]}.
|
||||
{json, "object.json"}.
|
|
@ -1 +0,0 @@
|
|||
[ "this is a random string with \n embedded\u0020escapes in it" ]
|
|
@ -1,5 +0,0 @@
|
|||
{name, "string"}.
|
||||
{jsx, [start_array,
|
||||
{string,<<"this is a random string with \n embedded escapes in it">>},
|
||||
end_array,end_json]}.
|
||||
{json, "string.json"}.
|
|
@ -1 +0,0 @@
|
|||
["\"", "\\", "\b", "\f", "\n", "\r", "\t"]
|
|
@ -1,11 +0,0 @@
|
|||
{name, "string_escapes"}.
|
||||
{jsx, [start_array,
|
||||
{string,<<"\"">>},
|
||||
{string,<<"\\">>},
|
||||
{string,<<"\b">>},
|
||||
{string,<<"\f">>},
|
||||
{string,<<"\n">>},
|
||||
{string,<<"\r">>},
|
||||
{string,<<"\t">>},
|
||||
end_array,end_json]}.
|
||||
{json, "string_escapes.json"}.
|
|
@ -1 +0,0 @@
|
|||
true
|
|
@ -1,3 +0,0 @@
|
|||
{name, "true"}.
|
||||
{jsx, [{literal, true},end_json]}.
|
||||
{json, "true.json"}.
|
|
@ -1 +0,0 @@
|
|||
[[[[]]]
|
|
@ -1,3 +0,0 @@
|
|||
{name, "unbalanced array"}.
|
||||
{jsx, {error, badarg}}.
|
||||
{json, "unbalanced_array.json"}.
|
|
@ -1 +0,0 @@
|
|||
[ "arabic letter alef: ", "\u0627" ]
|
|
@ -1,6 +0,0 @@
|
|||
{name, "unicode_to_codepoint"}.
|
||||
{jsx, [start_array,
|
||||
{string,<<"arabic letter alef: ">>},
|
||||
{string,<<1575/utf8>>},
|
||||
end_array,end_json]}.
|
||||
{json, "unicode_to_codepoint.json"}.
|
|
@ -1 +0,0 @@
|
|||
["\ud801blah"]
|
|
@ -1,3 +0,0 @@
|
|||
{name, "unpaired_surrogate"}.
|
||||
{jsx, {error, badarg}}.
|
||||
{json, "unpaired_surrogate.json"}.
|
|
@ -1 +0,0 @@
|
|||
["\ud801blah"]
|
|
@ -1,4 +0,0 @@
|
|||
{name, "unpaired surrogate replaced"}.
|
||||
{jsx, [start_array,{string,<<65533/utf8,$b,$l,$a,$h>>},end_array,end_json]}.
|
||||
{json, "unpaired_surrogate_replaced.json"}.
|
||||
{jsx_flags, [replaced_bad_utf8]}.
|
|
@ -1,4 +0,0 @@
|
|||
|
||||
[0.3]
|
||||
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
{name, "whitespace"}.
|
||||
{jsx, [start_array,{float,0.3},end_array,end_json]}.
|
||||
{json, "whitespace.json"}.
|
|
@ -1 +0,0 @@
|
|||
[[0], 0, {"key":0, "another key":0}, 0 ]
|
|
@ -1,14 +0,0 @@
|
|||
{name, "zero"}.
|
||||
{jsx, [start_array,start_array,
|
||||
{integer,0},
|
||||
end_array,
|
||||
{integer,0},
|
||||
start_object,
|
||||
{key,<<"key">>},
|
||||
{integer,0},
|
||||
{key,<<"another key">>},
|
||||
{integer,0},
|
||||
end_object,
|
||||
{integer,0},
|
||||
end_array,end_json]}.
|
||||
{json, "zero.json"}.
|
Loading…
Add table
Add a link
Reference in a new issue