summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/args-member-array.out
diff options
context:
space:
mode:
authorMarkus Armbruster2015-07-31 13:30:50 +0200
committerMarkus Armbruster2015-09-04 15:47:15 +0200
commit6af9a8fc8ec83f823c079211bc7a2414b1d4e5fe (patch)
treedc5a3724b74fccb2222df4a04a4930261e5bf1c3 /tests/qapi-schema/args-member-array.out
parenttests/qapi-schema: Restore test case for flat union base bug (diff)
downloadqemu-6af9a8fc8ec83f823c079211bc7a2414b1d4e5fe.tar.gz
qemu-6af9a8fc8ec83f823c079211bc7a2414b1d4e5fe.tar.xz
qemu-6af9a8fc8ec83f823c079211bc7a2414b1d4e5fe.zip
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-array.out')
-rw-r--r--tests/qapi-schema/args-member-array.out5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/qapi-schema/args-member-array.out b/tests/qapi-schema/args-member-array.out
new file mode 100644
index 0000000000..c39fa25484
--- /dev/null
+++ b/tests/qapi-schema/args-member-array.out
@@ -0,0 +1,5 @@
+[OrderedDict([('enum', 'abc'), ('data', ['a', 'b', 'c'])]),
+ OrderedDict([('struct', 'def'), ('data', OrderedDict([('array', ['abc'])]))]),
+ OrderedDict([('command', 'okay'), ('data', OrderedDict([('member1', ['int']), ('member2', ['def'])]))])]
+[{'enum_name': 'abc', 'enum_values': ['a', 'b', 'c']}]
+[OrderedDict([('struct', 'def'), ('data', OrderedDict([('array', ['abc'])]))])]