224 Commits (7d303478a40e8bbb0cfd2e82ac99dc8e407cf014)

Author SHA1 Message Date
  Eric Haszlakiewicz 95737df9d4 Remove autoconf machinery, we're using cmake now. Update the release checklist to account for that, plus fill in other tasks and clean it up a bit. 5 years ago
  dota17 8b162c4b89 clang-format the files 5 years ago
  dota17 c117d8a8a8 add the disabling formatting coments and adjust the partial code manuly 5 years ago
  dota17 3822177473 add test cases 5 years ago
  Eric Haszlakiewicz a8c9284f06
Merge pull request #547 from dota17/assert_test 5 years ago
  dota17 e56ab0146f update testcase and delete debug -O0 build 5 years ago
  dota17 2d44f865c3 modify json-c default build type, and fix up the assert() errors in testcase 5 years ago
  dota17 6359b79847 update json_object.c and testcase, delete json_object_uint_inc() 5 years ago
  dota17 9532f94fa4 modify partial functions and testcase, in order to support automatic conversion for int64/uint64 5 years ago
  dota17 c816de212b modify the json_object, replace c_int64/c_uint64 with struct{union{int64, uint64},...} 5 years ago
  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