summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorEric Blake2015-11-06 07:35:34 +0100
committerMarkus Armbruster2015-11-10 08:09:14 +0100
commit2533377c7b0c686d1510ed6499cedf938607e805 (patch)
tree3949fc61de4141371ae4ca00c975b561784c4165 /docs
parentqapi: Test failure in middle of array parse (diff)
downloadqemu-2533377c7b0c686d1510ed6499cedf938607e805.tar.gz
qemu-2533377c7b0c686d1510ed6499cedf938607e805.tar.xz
qemu-2533377c7b0c686d1510ed6499cedf938607e805.zip
qapi: More tests of input arrays
Our testsuite had no coverage of empty arrays, nor of what happens when the input does not match the expected type. Useful to have, especially if we start changing the visitor contracts. I did not think it worth duplicating these additions to test-qmp-input-strict; since all strict mode does is add the ability to reject JSON input that has more keys than what the visitor expects, yet the additions in this patch error out earlier than that point regardless of whether strict mode was requested. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1446791754-23823-11-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions