summaryrefslogtreecommitdiff
path: root/check-qjson.c
AgeCommit message (Collapse)Author
2010-10-22Silence compiler warning in json test caseJan Kiszka
This avoids error: zero-length gnu_printf format string Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2010-06-14Merge remote branch 'qmp/for-anthony' into stagingAnthony Liguori
2010-06-13Move stdbool.hPaul Brook
Move inclusion of stdbool.h to common header files, instead of including in an ad-hoc manner. Signed-off-by: Paul Brook <paul@codesourcery.com>
2010-06-11add some tests for invalid JSONPaolo Bonzini
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2010-06-11check-qjson: Add more escape testsLuiz Capitulino
While there make the fail_unless() calls print error messages. IMPORTANT: The test for "\/" is failing, don't know why. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2009-11-17Add test suite for json marshallingAnthony Liguori
By reusing the qjson test suite. After checking that we can demarshal, marshal again and compared to the expected decoded value. This doesn't work so well for floats because they cannot be accurately represented in decimal but we try our best. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-11-17Add a unit test for JSON supportAnthony Liguori
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>