summaryrefslogtreecommitdiff
path: root/check-qjson.c
AgeCommit message (Collapse)AuthorFilesLines
2009-11-17Add test suite for json marshallingAnthony Liguori1-5/+75
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 Liguori1-0/+617
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>