214 Commits (9a7de35b922d71f287590e1d0a5b602cdd22a0fa)

Author SHA1 Message Date
  dota17 3c3b5920f7 add uint64 data to json-c 5 years ago
  Eric Haszlakiewicz 4bf7ffa984 Issue #539: be sure to clean up at the end of test_set_value. 5 years ago
  Eric Haszlakiewicz ae13ca524a Issue #539: reset the serializer when json_object_set_double() is called and the current serializer is the one that json_object_new_double_s() used. 5 years ago
  Eric Haszlakiewicz 0ffdbb2395
Merge pull request #531 from dota17/utf8test 5 years ago
  dota17 010f33d460 add json_object_new_null 5 years ago
  dota17 787a8b3f1c update code 5 years ago
  Po-Chuan Hsieh bb5971ba2a
Fix make check 5 years ago
  dota17 eca74dcccf test utf8 5 years ago
  Eric Haszlakiewicz e651e96a5b
Merge pull request #526 from dota17/addTestCase_printbuf 5 years ago
  Eric Haszlakiewicz a255510cca
Merge pull request #525 from dota17/addPointerTestcase 5 years ago
  chenguoping 8c0cb0bd28 Increased the test coverage of printbuf.c 82% to 92%. 5 years ago
  Eric Haszlakiewicz 0421772bbc
Merge pull request #523 from dota17/updatetestcase 5 years ago
  Eric Haszlakiewicz 4bfed6eb2f
Merge pull request #522 from dota17/addVisitTestcase 5 years ago
  dota17 5fe4448541 update tsetcase for tokener_c 5 years ago
  dota17 a5089f5a79 update json_visit testcase 5 years ago
  dota17 48ae9e8874 update pointer test case 5 years ago
  chenguoping 424b315ce0 pointer types discards qualifiers 5 years ago
  chenguoping 1446572997 add testcases of object and token 5 years ago
  Jaap Keuter 78d8e5c3d5 Properly append to CMAKE_C_FLAGS string 5 years ago
  Eric Haszlakiewicz 0819a55ffb Undefine NDEBUG for tests - cmake version. See issue #501. 5 years ago
  Eric Haszlakiewicz 37b4da6b92
Merge pull request #501 from andy5995/iss_406-2 5 years ago
  Eric Haszlakiewicz 41f434e89f Fix test_util_file for VS2013 too, but skip all the tests for anything older than that because the limitations are too inconvenient. 5 years ago
  Eric Haszlakiewicz b99be9cf4e Fix up the test_util_file test for builds on Windows VS2015. 5 years ago
  Eric Haszlakiewicz 7f30afc6e5 Fix some Windows compile issues, add JSON_EXPORT's, fix bogus character escapes, define __func__ and omit unistd.h if needed. 5 years ago
  Eric Haszlakiewicz bdaff94e9a Build and run the tests as part of the cmake build. 5 years ago
  Eric Haszlakiewicz 25aedddcdf Fix memory leaks in test_double_serializer, and make sure all tests return 0 at the end of main(). 5 years ago
  Eric Haszlakiewicz 3d3b014971 Add a quick way (JSONC_TEST_TRACE=1) to turn on shell tracing in tests. 5 years ago
  Eric Haszlakiewicz b1ad748842 Extend test_double_serializer to check NaN and Infinity handling. 5 years ago
  Eric Haszlakiewicz baed9983b3 Add a json_object_from_fd_ex() function, to allow the max nesting depth to be specified. 5 years ago
  Eric Haszlakiewicz ac26ea9c5b Add a test for serializing the double value -1.0. 5 years ago
  Eric Haszlakiewicz 05b41b159e Add a json_tokener_get_parse_end() function to replace direct access of tok->char_offset. 6 years ago
  Eric Haszlakiewicz 087534c030 Minor cleanup of includes in a couple of tests. 6 years ago
  andy5995 8799623806
undefine NDEBUG for tests 6 years ago
  Eric Haszlakiewicz 4a94ddbd8b
Merge pull request #500 from andy5995/add_missing_test_deps 6 years ago
  Eric Haszlakiewicz 68abf12afa Issue #498: Fix a memory leak bug introduced in test_double_serializer in 485f2a02 by adding a json_object_put call. 6 years ago
  andy5995 8ab8df1170
test/Makefile.am:add missing deps for test1 and test2 6 years ago
  Pierce Lopez 634900d270 tests: appease -Wwrite-strings 6 years ago
  Eric Haszlakiewicz 485f2a02c7 Issue #486: append a missing ".0" to negative double values too. 6 years ago
  Darjan Krijan 7a9075c16b Added test cases for spaced pretty and pretty_tab used together 6 years ago
  janczer 8bd62177e7 Fixed typos 7 years ago
  Eric Haszlakiewicz da4b34355d Add an parse test for content starting with a UTF8 BOM, which is _not_ a valid start to a JSON message. 7 years ago
  Eric Haszlakiewicz d5da847f51 PR#394: don't always append the ".0" if the double value rounds to zero because some custom formats *will* include it (e.g. %.2f). 7 years ago
  Eric Haszlakiewicz 0992aac61f Remove the TRUE and FALSE defines. 7 years ago
  Eric Haszlakiewicz 11ab365324 Deprecated a few typedefs, add docs on json_object_iter, move json_number_chars and json_hex-chars to json_object_private.h. 7 years ago
  Eric Haszlakiewicz a47eafe868 Cast to int64_t instead of long in test_int_add to fix the test on 32-bit platforms. 7 years ago
  Eric Haszlakiewicz e00a07b885 Clean up *.vg.out files too to "make distcheck" works. 7 years ago
  Eric Haszlakiewicz 5dae561d33 In json_object_deep_copy(), copy over _userdata, at least for json_type_string's with the default serializer set, and provide a way for people using custom serializers to provide a custom shallow_copy method. 7 years ago
  Eric Haszlakiewicz 96efeadd6e Always build the json_object_deep_copy() code, but conditionalize running it on a --benchmark command line option. 7 years ago
  Eric Haszlakiewicz 4dd92180c6 Merge branch 'json_deep_copy' of https://github.com/commodo/json-c into commodo-json_deep_copy 7 years ago
  Eric Haszlakiewicz 3628f16dd6 Rename json_object_add_int() to json_object_int_inc() and eliminate the "int64" variant since we store 64-bit values internally anyway. 7 years ago