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

View File

@@ -38,7 +38,7 @@ libjson_la_SOURCES = \
linkhash.c \
printbuf.c
check_PROGRAMS = test1 test2 test4 test_parse_int64 test_null test_cast
check_PROGRAMS = test1 test2 test4 test_parse_int64 test_null test_cast test_parse
test1_SOURCES = test1.c
test1_LDADD = $(lib_LTLIBRARIES)
@@ -58,7 +58,10 @@ test_null_LDADD = $(lib_LTLIBRARIES)
test_cast_SOURCES = test_cast.c
test_cast_LDADD = $(lib_LTLIBRARIES)
TESTS = test1.test test2.test test4.test parse_int64.test test_null.test test_cast.test
test_parse_SOURCES = test_parse.c
test_parse_LDADD = $(lib_LTLIBRARIES)
TESTS = test1.test test2.test test4.test parse_int64.test test_null.test test_cast.test test_parse.test
EXTRA_DIST += $(TESTS)
testsubdir=testSubDir
TESTS_ENVIRONMENT = top_builddir=$(top_builddir)