diff options
| author | Markus Armbruster | 2015-07-31 13:30:50 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2015-09-04 15:47:15 +0200 |
| commit | 6af9a8fc8ec83f823c079211bc7a2414b1d4e5fe (patch) | |
| tree | dc5a3724b74fccb2222df4a04a4930261e5bf1c3 /tests/qapi-schema/args-member-array.json | |
| parent | tests/qapi-schema: Restore test case for flat union base bug (diff) | |
| download | qemu-6af9a8fc8ec83f823c079211bc7a2414b1d4e5fe.tar.gz qemu-6af9a8fc8ec83f823c079211bc7a2414b1d4e5fe.tar.xz qemu-6af9a8fc8ec83f823c079211bc7a2414b1d4e5fe.zip | |
tests/qapi-schema: Rename tests from data- to args-
Since every schema entity has 'data', the data- prefix conveys no
information. These tests actually exercise commands. Only commands
have arguments, so change the prefix to to args-.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qapi-schema/args-member-array.json')
| -rw-r--r-- | tests/qapi-schema/args-member-array.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/qapi-schema/args-member-array.json b/tests/qapi-schema/args-member-array.json new file mode 100644 index 0000000000..e6f7f5da13 --- /dev/null +++ b/tests/qapi-schema/args-member-array.json @@ -0,0 +1,4 @@ +# valid array members +{ 'enum': 'abc', 'data': [ 'a', 'b', 'c' ] } +{ 'struct': 'def', 'data': { 'array': [ 'abc' ] } } +{ 'command': 'okay', 'data': { 'member1': [ 'int' ], 'member2': [ 'def' ] } } |
