Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
json-c
/
a2c078fc6eaf92dfe68d11bc2089e9e7c91f47c0
/
tests
51993c2
Added a json_object_new_double_s() convenience function to allow an exact string representation of a double to be specified when creating the object and use it in json_tokener_parse_ex() so a re-serialized object more exactly matches the input.
by Eric Haszlakiewicz
· 11 years ago
e8161a1
Issue #15: add a way to set a JSON_TOKENER_STRICT flag to forbid commas at the end of arrays and objects.
by Eric Haszlakiewicz
· 12 years ago
94aeed2
Include the test_locale test in the tests that run.
by Eric Haszlakiewicz
· 12 years ago
5b36a43
Merge branch 'remicollet-issue-float'
by Eric Haszlakiewicz
· 12 years ago
9b64c05
Mark the "val" variable in json_object_object_foreach as unused so the compiler doesn't complain. Fix warnings in the testReplaceExisting test.
by Eric Haszlakiewicz
· 12 years ago
ca8b27d
Enable -Werror and fix a number of minor warnings that existed.
by Eric Haszlakiewicz
· 12 years ago
78b089b
Fixed test_parse for \f
by Iskren Chernev
· 12 years ago
2e9fef3
Revert the test_null test back to emitted to stdout, and update the expected output to match.
by Eric Haszlakiewicz
· 12 years ago
57f36ed
Write additional test info to stderr instead of stdout so as not to mar the expected output
by Alexander Klauer
· 12 years ago
827a4a9
Fixed memory leak in testReplaceExisting
by Alexander Klauer
· 12 years ago
b1d61d1
Library is now called libjson-c
by Alexander Klauer
· 12 years ago
32d149c
probably worth an option for this
by Remi Collet
· 12 years ago
a01b659
move locale change to be global for perf
by Remi Collet
· 12 years ago
4e4af93
Fix issue #53 - ensure explicit length string are still NUL terminated, and fix json_tokener_parse() to work properly with embedded unicode \u0000 values in strings.
by Eric Haszlakiewicz
· 12 years ago
aec8763
Add a missing json_object_get() so we don't try to use a freed object in test1.
by Eric Haszlakiewicz
· 12 years ago
447b88a
Fix a memory leak in the test_printbuf test.
by Eric Haszlakiewicz
· 12 years ago
f6b27cb
Make it safe to delete keys while iterating with the json_object_object_foreach macro.
by Eric Haszlakiewicz
· 12 years ago
c3d1d59
Fix a memory leak in test1 with respect to how json_object_object_del was used.
by Eric Haszlakiewicz
· 12 years ago
c3068bf
Reformat the test sources. No functional change.
by Eric Haszlakiewicz
· 12 years ago
4b1a066
Update the set_serializer test to match the actual output.
by Eric Haszlakiewicz
· 12 years ago
38f421a
Add a json_set_serializer() function to allow the string output of a json_object to be customized.
by Eric Haszlakiewicz
· 12 years ago
92f31bd
Handle the \f escape sequence (the two characters: backslash followed by an f, not a literal formfeed) and extend the test_parse test to check all valid escape sequences.
by Eric Haszlakiewicz
· 12 years ago
77c6239
Initialize errno before calling sscanf in json_parse_int64() so parsing valid numbers after parsing an out of range number works.
by Eric Haszlakiewicz
· 12 years ago
6988f53
Rewrite json_object_object_add to replace just the value if the key already exists so keys remain valid.
by Eric Haszlakiewicz
· 12 years ago
984303d
Added a bunch of missing HAVE_* defines tested with ./configure script to fix compilation on Linux with GCC 4.7.1. The issue likely caused by my previous commits related to Visual C++ port of the code.
by Mateusz Loskot
· 12 years ago
271c53e
Missing explicit casts from void* to specific pointers required. Added #define strcasecmp for Visual C++.
by Mateusz Loskot
· 12 years ago
4c7f38e
Extend test1 and test2 to run using json_object_to_json_string_ext() based on an additional command line parameter.
by Eric Haszlakiewicz
· 13 years ago
3d88179
Actually save the expected output for the test_printbuf test so it passes.
by Eric Haszlakiewicz
· 13 years ago
e5c1e87
Add a test for the printbuf functions.
by Eric Haszlakiewicz
· 13 years ago
b80772a
Use a different variable when referring to the json.la file, since the original lib_LTLIBRARIES means something special to automake.
by Eric Haszlakiewicz
· 13 years ago
c1b8891
Move the rest of the tests into the tests subdirectory.
by Eric Haszlakiewicz
· 13 years ago
1e89ba6
Create a tests subdirectory and move one of the test to there.
by Eric Haszlakiewicz
· 13 years ago