]> git.proxmox.com Git - qemu.git/blobdiff - qapi-schema-test.json
qapi: add native list coverage for QMP output visitor tests
[qemu.git] / qapi-schema-test.json
index 9eae3501d710d9953c4aa9f6abe30ff46aa253c4..4434fa39613cbce3d6af0725d12168a9e76b434c 100644 (file)
 { 'union': 'UserDefUnion',
   'data': { 'a' : 'UserDefA', 'b' : 'UserDefB' } }
 
+# for testing native lists
+{ 'union': 'UserDefNativeListUnion',
+  'data': { 'integer': ['int'],
+            's8': ['int8'],
+            's16': ['int16'],
+            's32': ['int32'],
+            's64': ['int64'],
+            'u8': ['uint8'],
+            'u16': ['uint16'],
+            'u32': ['uint32'],
+            'u64': ['uint64'],
+            'number': ['number'],
+            'boolean': ['bool'],
+            'string': ['str'] } }
+
 # testing commands
 { 'command': 'user_def_cmd', 'data': {} }
 { 'command': 'user_def_cmd1', 'data': {'ud1a': 'UserDefOne'} }