[libvirt] [PATCH 0/5] tests: json: Improve testing of parsing and formatting

Peter Krempa pkrempa at redhat.com
Tue Jul 4 10:53:23 UTC 2017


For an experiment I was doing I needed to nest JSON string into an attribute of
a different JSON string, so I wrote some tests for that.

The experiment failed, but the tests may make sense to have in libvirt.

Peter Krempa (5):
  tests: Rename jsontest to virjsontest
  tests: virjson: Modify logic in testJSONFromString
  tests: virjson: Remove spaces from 'very-hard' parsing example
  tests: virjson: Test formatting along with parsing of JSON objects
  tests: virjson: Test string escaping

 tests/Makefile.am                   |   8 +-
 tests/{jsontest.c => virjsontest.c} | 195 +++++++++++++++++++++++++++---------
 2 files changed, 150 insertions(+), 53 deletions(-)
 rename tests/{jsontest.c => virjsontest.c} (69%)

-- 
2.12.2




More information about the libvir-list mailing list