aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/args-member-unknown.json
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-07-31 13:30:50 +0200
committerMarkus Armbruster <armbru@redhat.com>2015-09-04 15:47:15 +0200
commit6af9a8fc8ec83f823c079211bc7a2414b1d4e5fe (patch)
treedc5a3724b74fccb2222df4a04a4930261e5bf1c3 /tests/qapi-schema/args-member-unknown.json
parent80e60a19a82cf872652d1923e800fecef5cc7def (diff)
tests/qapi-schema: Rename tests from data- to args-
Since every schema entity has 'data', the data- prefix conveys no information. These tests actually exercise commands. Only commands have arguments, so change the prefix to to args-. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qapi-schema/args-member-unknown.json')
-rw-r--r--tests/qapi-schema/args-member-unknown.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qapi-schema/args-member-unknown.json b/tests/qapi-schema/args-member-unknown.json
new file mode 100644
index 0000000000..342a41ec90
--- /dev/null
+++ b/tests/qapi-schema/args-member-unknown.json
@@ -0,0 +1,2 @@
+# we reject data if it does not contain a known type
+{ 'command': 'oops', 'data': { 'member': 'NoSuchType' } }