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

Peter Krempa posted 5 patches 115 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1499165422.git.pkrempa@redhat.com
tests/Makefile.am                   |   8 +-
tests/{jsontest.c => virjsontest.c} | 195 +++++++++++++++++++++++++++---------
2 files changed, 150 insertions(+), 53 deletions(-)
rename tests/{jsontest.c => virjsontest.c} (69%)

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

Posted by Peter Krempa 115 weeks ago
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@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

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

Posted by Peter Krempa 114 weeks ago
On Tue, Jul 04, 2017 at 12:53:23 +0200, Peter Krempa wrote:
> 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.
> 

This fails to apply now, so I'll post a rebased version soon.
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list