summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Expand)AuthorFilesLines
2015-03-03Merge pull request #168 from bugness-chl/masterHEADmasterEric Haszlakiewicz2-1/+26
2015-02-05Tightening the number parsing algorithmchl2-1/+26
2014-08-26Remove trailing whitespaceMichael Vetter2-4/+4
2014-03-22Simplify the tests Makefile to avoid repeating the name of each test.Eric Haszlakiewicz2-18/+20
2014-03-22Rename the "test_case" test to "test_charcase" to make it slightly less confu...Eric Haszlakiewicz4-27/+4
2014-03-22Issue #103: allow Infinity and -Infinity to be parsed.Eric Haszlakiewicz2-0/+35
2014-03-09Issue#102 - add support for parsing "NaN".Eric Haszlakiewicz2-0/+5
2014-02-12Merge branch 'master' into LowercaseLiteralsAndrea Faulds3-0/+53
2014-02-12Missing testsAndrea Faulds3-0/+53
2013-11-14Only allow lowercase literals in STRICT modeAndrea Faulds1-1/+4
2013-09-11Added a json_object_new_double_s() convenience function to allow an exact str...Eric Haszlakiewicz2-3/+3
2013-03-31Issue #15: add a way to set a JSON_TOKENER_STRICT flag to forbid commas at th...Eric Haszlakiewicz2-2/+13
2013-02-26Include the test_locale test in the tests that run.Eric Haszlakiewicz3-1/+15
2013-02-26Merge branch 'remicollet-issue-float'Eric Haszlakiewicz2-0/+34
2013-02-21Mark the "val" variable in json_object_object_foreach as unused so the compil...Eric Haszlakiewicz1-1/+1
2013-02-09Enable -Werror and fix a number of minor warnings that existed.Eric Haszlakiewicz3-3/+3
2013-01-28Fixed test_parse for \fIskren Chernev1-1/+1
2012-12-23Revert the test_null test back to emitted to stdout, and update the expected ...Eric Haszlakiewicz2-3/+4
2012-12-19Write additional test info to stderr instead of stdout so as not to mar the e...Alexander Klauer1-3/+3
2012-12-19Fixed memory leak in testReplaceExistingAlexander Klauer1-0/+2
2012-12-18Library is now called libjson-cAlexander Klauer1-1/+1
2012-12-13probably worth an option for thisRemi Collet1-1/+2
2012-12-13move locale change to be global for perfRemi Collet2-0/+33
2012-12-09Fix issue #53 - ensure explicit length string are still NUL terminated, and f...Eric Haszlakiewicz1-0/+20
2012-11-29Add a missing json_object_get() so we don't try to use a freed object in test1.Eric Haszlakiewicz1-0/+1
2012-11-29Fix a memory leak in the test_printbuf test.Eric Haszlakiewicz1-0/+1
2012-10-20Make it safe to delete keys while iterating with the json_object_object_forea...Eric Haszlakiewicz2-1/+27
2012-09-16Fix a memory leak in test1 with respect to how json_object_object_del was used.Eric Haszlakiewicz5-1/+12
2012-09-16Reformat the test sources. No functional change.Eric Haszlakiewicz8-216/+223
2012-09-09Update the set_serializer test to match the actual output.Eric Haszlakiewicz1-0/+1
2012-09-02Add a json_set_serializer() function to allow the string output of a json_obj...Eric Haszlakiewicz4-0/+96
2012-07-29Handle the \f escape sequence (the two characters: backslash followed by an f...Eric Haszlakiewicz2-1/+21
2012-07-29Initialize errno before calling sscanf in json_parse_int64() so parsing valid...Eric Haszlakiewicz2-0/+13
2012-07-24Rewrite json_object_object_add to replace just the value if the key already e...Eric Haszlakiewicz4-1/+81
2012-06-19Added a bunch of missing HAVE_* defines tested with ./configure script to fix...Mateusz Loskot1-1/+1
2012-05-22Missing explicit casts from void* to specific pointers required. Added #defin...Mateusz Loskot2-2/+10
2012-04-28Extend test1 and test2 to run using json_object_to_json_string_ext() based on...Eric Haszlakiewicz14-19/+293
2012-04-22Actually save the expected output for the test_printbuf test so it passes.Eric Haszlakiewicz1-0/+32
2012-04-22Add a test for the printbuf functions.Eric Haszlakiewicz3-0/+182
2012-04-22Use a different variable when referring to the json.la file, since the origin...Eric Haszlakiewicz1-8/+8
2012-04-22Move the rest of the tests into the tests subdirectory.Eric Haszlakiewicz20-8/+922
2012-04-22Create a tests subdirectory and move one of the test to there.Eric Haszlakiewicz4-0/+180