mirror of
https://github.com/json-c/json-c.git
synced 2026-04-01 11:29:07 +08:00
update json_object_new_string_len, json_escape_str (internal). Writer handles \x00 correctly
Added parse_null test. This does not change anything with how the parser handles \u0000 or null characters This commit is addapted from one by Adomas Paltanavičius <adomas@leanholding.com> git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@63 327403b1-1117-474d-bef2-5cb71233fd97
This commit is contained in:
@@ -32,7 +32,7 @@ libjson_la_SOURCES = \
|
||||
linkhash.c \
|
||||
printbuf.c
|
||||
|
||||
check_PROGRAMS = test1 test2 test4 test_parse_int64
|
||||
check_PROGRAMS = test1 test2 test4 test_parse_int64 test_null
|
||||
|
||||
test1_SOURCES = test1.c
|
||||
test1_LDADD = $(lib_LTLIBRARIES)
|
||||
@@ -46,7 +46,10 @@ test4_LDADD = $(lib_LTLIBRARIES)
|
||||
test_parse_int64_SOURCES = test_parse_int64.c
|
||||
test_parse_int64_LDADD = $(lib_LTLIBRARIES)
|
||||
|
||||
TESTS = test1.test test2.test test4.test parse_int64.test
|
||||
test_null_SOURCES = test_null.c
|
||||
test_null_LDADD = $(lib_LTLIBRARIES)
|
||||
|
||||
TESTS = test1.test test2.test test4.test parse_int64.test test_null.test
|
||||
EXTRA_DIST += $(TESTS)
|
||||
testsubdir=testSubDir
|
||||
TESTS_ENVIRONMENT = top_builddir=$(top_builddir)
|
||||
|
||||
Reference in New Issue
Block a user