Split the json_tokener_parse tests off from test1 into their own test and add several more cases to check various incremental parsing situations.

This commit is contained in:
Eric Haszlakiewicz
2012-03-31 22:51:39 -05:00
parent 1489b081a7
commit c5c623a546
7 changed files with 334 additions and 133 deletions

12
test_parse.test Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
# Common definitions
if test -z "$srcdir"; then
srcdir="${0%/*}"
test "$srcdir" = "$0" && srcdir=.
test -z "$srcdir" && srcdir=.
fi
. "$srcdir/test-defs.sh"
run_output_test test_parse
exit $?