diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-11-14 19:05:29 -0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2011-12-06 11:40:00 -0200 |
commit | f294f82aa3f10e2ade5a8b7b1e927ebbb24ad55c (patch) | |
tree | 85564dcd9f23db04f7a20315f739f40102f975fc /qapi-schema-test.json | |
parent | 4ec0263e2ccad312cbaff1aa12ace1721113c2f1 (diff) |
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.json | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qapi-schema-test.json b/qapi-schema-test.json index 3acedad7ee..2b38919001 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'} } |