Revision ab22ad96 tests/qapi-schema/qapi-schema-test.json

b/tests/qapi-schema/qapi-schema-test.json
50 50
# testing commands
51 51
{ 'command': 'user_def_cmd', 'data': {} }
52 52
{ 'command': 'user_def_cmd1', 'data': {'ud1a': 'UserDefOne'} }
53
{ 'command': 'user_def_cmd2', 'data': {'ud1a': 'UserDefOne', 'ud1b': 'UserDefOne'}, 'returns': 'UserDefTwo' }
53
{ 'command': 'user_def_cmd2',
54
  'data': {'ud1a': 'UserDefOne', '*ud1b': 'UserDefOne'},
55
  'returns': 'UserDefTwo' }
54 56

  
55 57
# For testing integer range flattening in opts-visitor. The following schema
56 58
# corresponds to the option format:

Also available in: Unified diff