Re: [libvirt] [PATCH 08/11] tests: qemu: Add infrastructure for QAPI schema testing

2018-03-22 Thread Ján Tomko
On Thu, Mar 22, 2018 at 07:31:45PM +0100, Peter Krempa wrote: Add a function which will allow to test whether a JSON object conforms to the QAPI schema. This greatly helps when developing formatters for new JSON objects and will help make sure that the code will not break in cases which have

[libvirt] [PATCH 08/11] tests: qemu: Add infrastructure for QAPI schema testing

2018-03-22 Thread Peter Krempa
Add a function which will allow to test whether a JSON object conforms to the QAPI schema. This greatly helps when developing formatters for new JSON objects and will help make sure that the code will not break in cases which have unit tests but were actually not function-tested (mostly various