~ubuntu-branches/debian/jessie/qemu/jessie

« back to all changes in this revision

Viewing changes to qapi-schema-test.json

  • Committer: Package Import Robot
  • Author(s): Vagrant Cascadian
  • Date: 2011-10-03 12:29:18 UTC
  • mfrom: (1.2.13) (10.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20111003122918-zc4kv6epchrbgdta
Tags: 0.15.0+dfsg-1
* New upstream version.
* Install new qemu-system, qemu-user and qemu-user-static variants: 
  lm32, microblazeel, s390x, unicore32
* Patch from upstream to set QEMU_INCLUDES before QEMU_CFLAGS.
* Update debian/watch to check http://qemu.org/download.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# *-*- Mode: Python -*-*
 
2
 
 
3
# for testing enums
 
4
{ 'enum': 'EnumOne',
 
5
  'data': [ 'value1', 'value2', 'value3' ] }
 
6
{ 'type': 'NestedEnumsOne',
 
7
  'data': { 'enum1': 'EnumOne', '*enum2': 'EnumOne', 'enum3': 'EnumOne', '*enum4': 'EnumOne' } }
 
8
 
 
9
# for testing nested structs
 
10
{ 'type': 'UserDefOne',
 
11
  'data': { 'integer': 'int', 'string': 'str' } }
 
12
 
 
13
{ 'type': 'UserDefTwo',
 
14
  'data': { 'string': 'str',
 
15
            'dict': { 'string': 'str',
 
16
                      'dict': { 'userdef': 'UserDefOne', 'string': 'str' },
 
17
                      '*dict2': { 'userdef': 'UserDefOne', 'string': 'str' } } } }
 
18
 
 
19
# testing commands
 
20
{ 'command': 'user_def_cmd', 'data': {} }
 
21
{ 'command': 'user_def_cmd1', 'data': {'ud1a': 'UserDefOne'} }
 
22
{ 'command': 'user_def_cmd2', 'data': {'ud1a': 'UserDefOne', 'ud1b': 'UserDefOne'}, 'returns': 'UserDefTwo' }