]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virjsontest: switch AddAndRemove tests to work with files
authorJán Tomko <jtomko@redhat.com>
Fri, 1 Jun 2018 07:05:23 +0000 (09:05 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 3 Apr 2019 12:41:07 +0000 (14:41 +0200)
commitee3e23a79095763bf9c54929490d16211beceedb
treed9a9001a266fb18178fd3dfc26cb3bb1bfab14a2
parent650e62e0346e3f98da393d815b8cac8a7ea82615
virjsontest: switch AddAndRemove tests to work with files

Instead of using JSON in C strings, put it in separate files
for easier manipulation.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
tests/virjsondata/add-remove-failure-in.json [new file with mode: 0644]
tests/virjsondata/add-remove-success-in.json [new file with mode: 0644]
tests/virjsondata/add-remove-success-out.json [new file with mode: 0644]
tests/virjsontest.c