| Branch: | Revision:

root / check-qjson.c @ a74cdab4

History | View | Annotate | Download (19.9 kB)

# Date Author Comment
e7a06af8 10/22/2010 03:08 pm Jan Kiszka

Silence compiler warning in json test case

This avoids

error: zero-length gnu_printf format string

Signed-off-by: Jan Kiszka <>
Signed-off-by: Luiz Capitulino <>

a2da0395 06/14/2010 05:39 pm Anthony Liguori

Merge remote branch 'qmp/for-anthony' into staging

11165820 06/13/2010 09:00 pm Paul Brook

Move stdbool.h

Move inclusion of stdbool.h to common header files, instead of including
in an ad-hoc manner.

Signed-off-by: Paul Brook <>

d22b0bd7 06/11/2010 09:25 pm Luiz Capitulino

check-qjson: Add more escape tests

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 <>

7f8fca7c 06/11/2010 09:25 pm Paolo Bonzini

add some tests for invalid JSON

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Luiz Capitulino <>

6ee59202 11/17/2009 04:49 pm Anthony Liguori

Add test suite for json marshalling

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...

422c46a8 11/17/2009 04:49 pm Anthony Liguori

Add a unit test for JSON support

Signed-off-by: Anthony Liguori <>