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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux