aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/data-member-array.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/data-member-array.json')
-rw-r--r--tests/qapi-schema/data-member-array.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/qapi-schema/data-member-array.json b/tests/qapi-schema/data-member-array.json
new file mode 100644
index 0000000000..7cce276979
--- /dev/null
+++ b/tests/qapi-schema/data-member-array.json
@@ -0,0 +1,4 @@
+# valid array members
+{ 'enum': 'abc', 'data': [ 'a', 'b', 'c' ] }
+{ 'type': 'def', 'data': { 'array': [ 'abc' ] } }
+{ 'command': 'okay', 'data': { 'member1': [ 'int' ], 'member2': [ 'def' ] } }