From f294f82aa3f10e2ade5a8b7b1e927ebbb24ad55c Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Mon, 14 Nov 2011 19:05:29 -0200 Subject: Introduce test-qmp-output-visitor Contains unit-tests for the QMP output visitor implementation. Signed-off-by: Luiz Capitulino --- qapi-schema-test.json | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'qapi-schema-test.json') 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'} } -- cgit v1.1