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

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

 



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 unit tests but were actually not function-tested
(mostly various disk access protocols).

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
tests/Makefile.am           |   2 +
tests/qemumonitorjsontest.c | 108 ++++++++-
tests/testutilsqemuschema.c | 536 ++++++++++++++++++++++++++++++++++++++++++++
tests/testutilsqemuschema.h |  30 +++
4 files changed, 675 insertions(+), 1 deletion(-)
create mode 100644 tests/testutilsqemuschema.c
create mode 100644 tests/testutilsqemuschema.h


ACK

Jan

Attachment: signature.asc
Description: Digital signature

--
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