diff options
| author | Markus Armbruster | 2014-03-01 08:40:29 +0100 |
|---|---|---|
| committer | Luiz Capitulino | 2014-03-03 17:16:45 +0100 |
| commit | c2216a8a7a587e594f50bebbdf81fcf168444b68 (patch) | |
| tree | 71a08dc3a80ba5ae49205b7d380a438eb05d7233 /tests/qapi-schema/qapi-schema-test.json | |
| parent | tests/qapi-schema: Cover optional command arguments (diff) | |
| download | qemu-c2216a8a7a587e594f50bebbdf81fcf168444b68.tar.gz qemu-c2216a8a7a587e594f50bebbdf81fcf168444b68.tar.xz qemu-c2216a8a7a587e594f50bebbdf81fcf168444b68.zip | |
tests/qapi-schema: Cover simple argument types
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'tests/qapi-schema/qapi-schema-test.json')
| -rw-r--r-- | tests/qapi-schema/qapi-schema-test.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qapi-schema/qapi-schema-test.json b/tests/qapi-schema/qapi-schema-test.json index d2b1397d82..3f62821b60 100644 --- a/tests/qapi-schema/qapi-schema-test.json +++ b/tests/qapi-schema/qapi-schema-test.json @@ -53,6 +53,8 @@ { 'command': 'user_def_cmd2', 'data': {'ud1a': 'UserDefOne', '*ud1b': 'UserDefOne'}, 'returns': 'UserDefTwo' } +{ 'command': 'user_def_cmd3', 'data': {'a': 'int', '*b': 'int' }, + 'returns': 'int' } # For testing integer range flattening in opts-visitor. The following schema # corresponds to the option format: |
