diff options
author | Eric Blake <eblake@redhat.com> | 2015-11-05 23:35:34 -0700 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2015-11-10 08:09:14 +0100 |
commit | 2533377c7b0c686d1510ed6499cedf938607e805 (patch) | |
tree | 3949fc61de4141371ae4ca00c975b561784c4165 /docs/win32-qemu-event.promela | |
parent | dd5ee2c2d3e3a17647ddd9bfa97935b8cb5dfa40 (diff) |
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/win32-qemu-event.promela')
0 files changed, 0 insertions, 0 deletions