aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema-test.json
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-11-14 19:05:29 -0200
committerLuiz Capitulino <lcapitulino@redhat.com>2011-12-06 11:40:00 -0200
commitf294f82aa3f10e2ade5a8b7b1e927ebbb24ad55c (patch)
tree85564dcd9f23db04f7a20315f739f40102f975fc /qapi-schema-test.json
parent4ec0263e2ccad312cbaff1aa12ace1721113c2f1 (diff)
downloadqemu-f294f82aa3f10e2ade5a8b7b1e927ebbb24ad55c.zip
qemu-f294f82aa3f10e2ade5a8b7b1e927ebbb24ad55c.tar.gz
qemu-f294f82aa3f10e2ade5a8b7b1e927ebbb24ad55c.tar.bz2
Introduce test-qmp-output-visitor
Contains unit-tests for the QMP output visitor implementation. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi-schema-test.json')
-rw-r--r--qapi-schema-test.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/qapi-schema-test.json b/qapi-schema-test.json
index 3acedad..2b38919 100644
--- a/qapi-schema-test.json
+++ b/qapi-schema-test.json
@@ -16,6 +16,12 @@
'dict': { 'userdef': 'UserDefOne', 'string': 'str' },
'*dict2': { 'userdef': 'UserDefOne', 'string': 'str' } } } }
+{ 'type': 'UserDefNested',
+ 'data': { 'string0': 'str',
+ 'dict1': { 'string1': 'str',
+ 'dict2': { 'userdef1': 'UserDefOne', 'string2': 'str' },
+ '*dict3': { 'userdef2': 'UserDefOne', 'string3': 'str' } } } }
+
# testing commands
{ 'command': 'user_def_cmd', 'data': {} }
{ 'command': 'user_def_cmd1', 'data': {'ud1a': 'UserDefOne'} }