mirror of
https://github.com/json-c/json-c.git
synced 2026-04-07 22:39:08 +08:00
Add a test_cast test case. This checks that the casting that is implied when calling the various json_object_get_FOO() functions on a differently typed object works correctly.
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@68 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 test_null
|
||||
check_PROGRAMS = test1 test2 test4 test_parse_int64 test_null test_cast
|
||||
|
||||
test1_SOURCES = test1.c
|
||||
test1_LDADD = $(lib_LTLIBRARIES)
|
||||
@@ -49,7 +49,10 @@ test_parse_int64_LDADD = $(lib_LTLIBRARIES)
|
||||
test_null_SOURCES = test_null.c
|
||||
test_null_LDADD = $(lib_LTLIBRARIES)
|
||||
|
||||
TESTS = test1.test test2.test test4.test parse_int64.test test_null.test
|
||||
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
|
||||
EXTRA_DIST += $(TESTS)
|
||||
testsubdir=testSubDir
|
||||
TESTS_ENVIRONMENT = top_builddir=$(top_builddir)
|
||||
|
||||
Reference in New Issue
Block a user