Petri Lehtinen
f243930b68
json_load_file: Initialize the error struct properly
...
Failing to do this has the effect that the error message is not
returned when the input file cannot be opened (e.g. if it doesn't
exist).
Thanks to Martin Vopatek for reporting.
2009-10-27 17:56:02 +02:00
Petri Lehtinen
c288188a0f
test/.gitignore: Add testprogs/test_simple
2009-09-07 21:25:22 +03:00
Petri Lehtinen
b3e265eb84
Add test for numbers
2009-08-24 20:54:40 +03:00
Petri Lehtinen
0565988d12
Expand value test coverage
2009-08-23 13:34:12 +03:00
Petri Lehtinen
f41e380984
Rename json_{load,dump} to json_{load,dump}_file
2009-07-28 10:58:13 +03:00
Petri Lehtinen
f60c563bab
Enhance test system
...
- Tests are now named
- Testlogs are preserved between runs
- Tests can be run through Valgrind Memcheck tool
2009-07-28 10:36:16 +03:00
Petri Lehtinen
4c414bdd6d
Get rid of json_dumpfd and json_loadfd
...
fdopen() makes supporting separate API for file descriptors useless.
Supporting fd's also makes Jansson less portable.
2009-07-13 21:45:16 +03:00
Petri Lehtinen
8ef778c843
Add some tests
2009-07-09 21:01:40 +03:00