qemu-e2k/tests/qapi-schema
Eric Blake 895a2a80e0 qapi: Use 'struct' instead of 'type' in schema
Referring to "type" as both a meta-type (built-in, enum, union,
alternate, or struct) and a specific type (the name that the
schema uses for declaring structs) is confusing.  Do the bulk of
the conversion to "struct" in qapi schema, with a fairly
mechanical:

for f in `find -name '*.json'; do sed -i "s/'type'/'struct'/"; done

followed by manually filtering out the places where we have a
'type' embedded in 'data'.  Then tweak a couple of tests whose
output changes slightly due to longer lines.

I also verified that the generated files for QMP and QGA (such
as qmp-commands.h) are the same before and after, as assurance
that I didn't leave in any accidental member name changes.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-05-05 18:39:01 +02:00
..
include qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
alternate-array.err qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
alternate-array.exit qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-array.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
alternate-array.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-base.err qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
alternate-base.exit qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-base.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
alternate-base.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-clash.err qapi: Use 'alternate' to replace anonymous union 2015-05-05 18:39:00 +02:00
alternate-clash.exit qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-clash.json qapi: Use 'alternate' to replace anonymous union 2015-05-05 18:39:00 +02:00
alternate-clash.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-conflict-dict.err qapi: Use 'alternate' to replace anonymous union 2015-05-05 18:39:00 +02:00
alternate-conflict-dict.exit qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-conflict-dict.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
alternate-conflict-dict.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-conflict-string.err qapi: Use 'alternate' to replace anonymous union 2015-05-05 18:39:00 +02:00
alternate-conflict-string.exit qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-conflict-string.json qapi: Use 'alternate' to replace anonymous union 2015-05-05 18:39:00 +02:00
alternate-conflict-string.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-good.err qapi: Add some union tests 2015-05-05 18:39:00 +02:00
alternate-good.exit qapi: Add some union tests 2015-05-05 18:39:00 +02:00
alternate-good.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
alternate-good.out qapi: Prefer 'struct' over 'type' in generator 2015-05-05 18:39:01 +02:00
alternate-nested.err qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
alternate-nested.exit qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-nested.json qapi: Use 'alternate' to replace anonymous union 2015-05-05 18:39:00 +02:00
alternate-nested.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-unknown.err qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
alternate-unknown.exit qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
alternate-unknown.json qapi: Use 'alternate' to replace anonymous union 2015-05-05 18:39:00 +02:00
alternate-unknown.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
bad-base.err qapi: Prefer 'struct' over 'type' in generator 2015-05-05 18:39:01 +02:00
bad-base.exit qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
bad-base.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
bad-base.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
bad-data.err qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
bad-data.exit qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
bad-data.json qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
bad-data.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
bad-ident.err qapi: Prefer 'struct' over 'type' in generator 2015-05-05 18:39:01 +02:00
bad-ident.exit qapi: Require valid names 2015-05-05 18:39:01 +02:00
bad-ident.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
bad-ident.out qapi: Require valid names 2015-05-05 18:39:01 +02:00
bad-type-bool.err qapi: Prefer 'struct' over 'type' in generator 2015-05-05 18:39:01 +02:00
bad-type-bool.exit qapi: Add some expr tests 2015-05-05 18:39:01 +02:00
bad-type-bool.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
bad-type-bool.out qapi: Add some expr tests 2015-05-05 18:39:01 +02:00
bad-type-dict.err qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
bad-type-dict.exit qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
bad-type-dict.json qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
bad-type-dict.out qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
bad-type-int.err qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
bad-type-int.exit qapi: Add some expr tests 2015-05-05 18:39:01 +02:00
bad-type-int.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
bad-type-int.out qapi: Add some expr tests 2015-05-05 18:39:01 +02:00
command-int.err qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
command-int.exit qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
command-int.json qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
command-int.out qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
comments.err qapi.py: Permit comments starting anywhere on the line 2013-07-29 10:37:11 -05:00
comments.exit qapi.py: Permit comments starting anywhere on the line 2013-07-29 10:37:11 -05:00
comments.json
comments.out qapi script: remember explicitly defined enum values 2014-03-11 09:07:41 -04:00
data-array-empty.err qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-array-empty.exit qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-array-empty.json qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-array-empty.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-array-unknown.err qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-array-unknown.exit qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-array-unknown.json qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-array-unknown.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-int.err qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-int.exit qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-int.json qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-int.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-member-array-bad.err qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-member-array-bad.exit qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-member-array-bad.json qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-member-array-bad.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-member-array.err qapi: Add some type check tests 2015-05-05 18:39:01 +02:00
data-member-array.exit qapi: Add some type check tests 2015-05-05 18:39:01 +02:00
data-member-array.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
data-member-array.out qapi: Prefer 'struct' over 'type' in generator 2015-05-05 18:39:01 +02:00
data-member-unknown.err qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-member-unknown.exit qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-member-unknown.json qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-member-unknown.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-unknown.err qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-unknown.exit qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-unknown.json qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
data-unknown.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
double-data.err qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
double-data.exit qapi: Add some expr tests 2015-05-05 18:39:01 +02:00
double-data.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
double-data.out qapi: Add some expr tests 2015-05-05 18:39:01 +02:00
double-type.err qapi: Prefer 'struct' over 'type' in generator 2015-05-05 18:39:01 +02:00
double-type.exit qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
double-type.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
double-type.out qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
duplicate-key.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
duplicate-key.exit qapi script: add check for duplicated key 2014-03-11 09:07:41 -04:00
duplicate-key.json qapi script: add check for duplicated key 2014-03-11 09:07:41 -04:00
duplicate-key.out qapi script: add check for duplicated key 2014-03-11 09:07:41 -04:00
empty.err
empty.exit
empty.json
empty.out
enum-bad-name.err qapi: Require valid names 2015-05-05 18:39:01 +02:00
enum-bad-name.exit qapi: Require valid names 2015-05-05 18:39:01 +02:00
enum-bad-name.json qapi: Require valid names 2015-05-05 18:39:01 +02:00
enum-bad-name.out qapi: Require valid names 2015-05-05 18:39:01 +02:00
enum-clash-member.err qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-clash-member.exit qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-clash-member.json qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-clash-member.out qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-dict-member.err qapi: Require valid names 2015-05-05 18:39:01 +02:00
enum-dict-member.exit qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-dict-member.json qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-dict-member.out qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-empty.err qapi: Add some enum tests 2015-05-05 18:39:00 +02:00
enum-empty.exit qapi: Add some enum tests 2015-05-05 18:39:00 +02:00
enum-empty.json qapi: Add some enum tests 2015-05-05 18:39:00 +02:00
enum-empty.out qapi: Add some enum tests 2015-05-05 18:39:00 +02:00
enum-int-member.err qapi: Add some enum tests 2015-05-05 18:39:00 +02:00
enum-int-member.exit qapi: Add some enum tests 2015-05-05 18:39:00 +02:00
enum-int-member.json qapi: Add some enum tests 2015-05-05 18:39:00 +02:00
enum-int-member.out qapi: Add some enum tests 2015-05-05 18:39:00 +02:00
enum-max-member.err qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-max-member.exit qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-max-member.json qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-max-member.out qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-missing-data.err qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
enum-missing-data.exit qapi: Add some enum tests 2015-05-05 18:39:00 +02:00
enum-missing-data.json qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-missing-data.out qapi: Add some enum tests 2015-05-05 18:39:00 +02:00
enum-union-clash.err qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
enum-union-clash.exit qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
enum-union-clash.json qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
enum-union-clash.out qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
enum-wrong-data.err qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-wrong-data.exit qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-wrong-data.json qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
enum-wrong-data.out qapi: Better error messages for bad enums 2015-05-05 18:39:00 +02:00
event-case.err qapi: Add some expr tests 2015-05-05 18:39:01 +02:00
event-case.exit qapi: Add some expr tests 2015-05-05 18:39:01 +02:00
event-case.json qapi: Add some expr tests 2015-05-05 18:39:01 +02:00
event-case.out qapi: Add some expr tests 2015-05-05 18:39:01 +02:00
event-max.err qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
event-max.exit qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
event-max.json qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
event-max.out qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
event-nest-struct.err qapi script: clean up in scripts 2014-06-27 09:27:56 -04:00
event-nest-struct.exit qapi script: add event support 2014-06-23 11:01:25 -04:00
event-nest-struct.json qapi script: add event support 2014-06-23 11:01:25 -04:00
event-nest-struct.out qapi script: add event support 2014-06-23 11:01:25 -04:00
flat-union-bad-base.err qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
flat-union-bad-base.exit qapi: Add some union tests 2015-05-05 18:39:00 +02:00
flat-union-bad-base.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
flat-union-bad-base.out qapi: Add some union tests 2015-05-05 18:39:00 +02:00
flat-union-bad-discriminator.err qapi: Require valid names 2015-05-05 18:39:01 +02:00
flat-union-bad-discriminator.exit qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
flat-union-bad-discriminator.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
flat-union-bad-discriminator.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
flat-union-base-star.err qapi: Prefer 'struct' over 'type' in generator 2015-05-05 18:39:01 +02:00
flat-union-base-star.exit qapi: Add some union tests 2015-05-05 18:39:00 +02:00
flat-union-base-star.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
flat-union-base-star.out qapi: Add some union tests 2015-05-05 18:39:00 +02:00
flat-union-base-union.err qapi: Prefer 'struct' over 'type' in generator 2015-05-05 18:39:01 +02:00
flat-union-base-union.exit qapi: Add some union tests 2015-05-05 18:39:00 +02:00
flat-union-base-union.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
flat-union-base-union.out qapi: Add some union tests 2015-05-05 18:39:00 +02:00
flat-union-branch-clash.err qapi: Add some union tests 2015-05-05 18:39:00 +02:00
flat-union-branch-clash.exit qapi: Add some union tests 2015-05-05 18:39:00 +02:00
flat-union-branch-clash.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
flat-union-branch-clash.out qapi: Prefer 'struct' over 'type' in generator 2015-05-05 18:39:01 +02:00
flat-union-inline.err qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
flat-union-inline.exit qapi: Add some union tests 2015-05-05 18:39:00 +02:00
flat-union-inline.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
flat-union-inline.out qapi: Add some union tests 2015-05-05 18:39:00 +02:00
flat-union-int-branch.err qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
flat-union-int-branch.exit qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
flat-union-int-branch.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
flat-union-int-branch.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
flat-union-invalid-branch-key.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
flat-union-invalid-branch-key.exit qapi script: check correctness of union 2014-03-11 09:07:41 -04:00
flat-union-invalid-branch-key.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
flat-union-invalid-branch-key.out qapi script: check correctness of union 2014-03-11 09:07:41 -04:00
flat-union-invalid-discriminator.err qapi: Prefer 'struct' over 'type' in generator 2015-05-05 18:39:01 +02:00
flat-union-invalid-discriminator.exit qapi script: check correctness of union 2014-03-11 09:07:41 -04:00
flat-union-invalid-discriminator.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
flat-union-invalid-discriminator.out qapi script: check correctness of union 2014-03-11 09:07:41 -04:00
flat-union-no-base.err qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
flat-union-no-base.exit qapi script: check correctness of union 2014-03-11 09:07:41 -04:00
flat-union-no-base.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
flat-union-no-base.out qapi script: check correctness of union 2014-03-11 09:07:41 -04:00
flat-union-optional-discriminator.err qapi: Require valid names 2015-05-05 18:39:01 +02:00
flat-union-optional-discriminator.exit qapi: Require valid names 2015-05-05 18:39:01 +02:00
flat-union-optional-discriminator.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
flat-union-optional-discriminator.out qapi: Require valid names 2015-05-05 18:39:01 +02:00
flat-union-reverse-define.err qapi script: support enum type as discriminator in union 2014-03-11 09:07:42 -04:00
flat-union-reverse-define.exit qapi script: support enum type as discriminator in union 2014-03-11 09:07:42 -04:00
flat-union-reverse-define.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
flat-union-reverse-define.out qapi: Prefer 'struct' over 'type' in generator 2015-05-05 18:39:01 +02:00
flat-union-string-discriminator.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
flat-union-string-discriminator.exit qapi script: do not allow string discriminator 2014-03-11 09:07:42 -04:00
flat-union-string-discriminator.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
flat-union-string-discriminator.out qapi script: do not allow string discriminator 2014-03-11 09:07:42 -04:00
funny-char.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
funny-char.exit qapi.py: Reject invalid characters in schema file 2013-07-29 10:37:11 -05:00
funny-char.json
funny-char.out qapi.py: Reject invalid characters in schema file 2013-07-29 10:37:11 -05:00
ident-with-escape.err qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
ident-with-escape.exit qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
ident-with-escape.json qapi: Add some expr tests 2015-05-05 18:39:01 +02:00
ident-with-escape.out qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
include-before-err.err qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-before-err.exit qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-before-err.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-before-err.out qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-cycle-b.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-cycle-c.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-cycle.err qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-cycle.exit qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-cycle.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-cycle.out qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-format-err.err qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-format-err.exit qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-format-err.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-format-err.out qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-nested-err.err qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-nested-err.exit qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-nested-err.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-nested-err.out qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-no-file.err qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-no-file.exit qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-no-file.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-no-file.out qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-non-file.err qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-non-file.exit qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-non-file.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-non-file.out qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-relpath-sub.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-relpath.err qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-relpath.exit qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-relpath.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-relpath.out qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-repetition-sub.json qapi: skip redundant includes 2014-05-16 10:35:59 -04:00
include-repetition.err qapi: skip redundant includes 2014-05-16 10:35:59 -04:00
include-repetition.exit qapi: skip redundant includes 2014-05-16 10:35:59 -04:00
include-repetition.json qapi: skip redundant includes 2014-05-16 10:35:59 -04:00
include-repetition.out qapi: skip redundant includes 2014-05-16 10:35:59 -04:00
include-self-cycle.err qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-self-cycle.exit qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-self-cycle.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-self-cycle.out qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-simple-sub.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-simple.err qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-simple.exit qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-simple.json qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
include-simple.out qapi: Add a primitive to include other files from a QAPI schema file 2014-05-08 14:19:58 -04:00
indented-expr.err
indented-expr.exit
indented-expr.json qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
indented-expr.out qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
missing-colon.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
missing-colon.exit qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05:00
missing-colon.json
missing-colon.out qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05:00
missing-comma-list.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
missing-comma-list.exit qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05:00
missing-comma-list.json
missing-comma-list.out qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05:00
missing-comma-object.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
missing-comma-object.exit qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05:00
missing-comma-object.json
missing-comma-object.out qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05:00
missing-type.err qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
missing-type.exit qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
missing-type.json qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
missing-type.out qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
nested-struct-data.err qapi: Add some type check tests 2015-05-05 18:39:01 +02:00
nested-struct-data.exit qapi: Add some type check tests 2015-05-05 18:39:01 +02:00
nested-struct-data.json qapi: Add some type check tests 2015-05-05 18:39:01 +02:00
nested-struct-data.out qapi: Add some type check tests 2015-05-05 18:39:01 +02:00
nested-struct-returns.err qapi: Add some type check tests 2015-05-05 18:39:01 +02:00
nested-struct-returns.exit qapi: Add some type check tests 2015-05-05 18:39:01 +02:00
nested-struct-returns.json qapi: Add some type check tests 2015-05-05 18:39:01 +02:00
nested-struct-returns.out qapi: Add some type check tests 2015-05-05 18:39:01 +02:00
non-objects.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
non-objects.exit
non-objects.json
non-objects.out
qapi-schema-test.err
qapi-schema-test.exit
qapi-schema-test.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
qapi-schema-test.out qapi: Prefer 'struct' over 'type' in generator 2015-05-05 18:39:01 +02:00
quoted-structural-chars.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
quoted-structural-chars.exit qapi.py: Restructure lexer and parser 2013-07-29 10:37:10 -05:00
quoted-structural-chars.json
quoted-structural-chars.out qapi.py: Restructure lexer and parser 2013-07-29 10:37:10 -05:00
redefined-builtin.err qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-builtin.exit qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-builtin.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
redefined-builtin.out qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-command.err qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-command.exit qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-command.json qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-command.out qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-event.err qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-event.exit qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-event.json qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-event.out qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-type.err qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-type.exit qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
redefined-type.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
redefined-type.out qapi: Better error messages for duplicated expressions 2015-05-05 18:39:01 +02:00
returns-alternate.err qapi: Whitelist commands that don't return dictionary 2015-05-05 18:39:01 +02:00
returns-alternate.exit qapi: Whitelist commands that don't return dictionary 2015-05-05 18:39:01 +02:00
returns-alternate.json qapi: Whitelist commands that don't return dictionary 2015-05-05 18:39:01 +02:00
returns-alternate.out qapi: Whitelist commands that don't return dictionary 2015-05-05 18:39:01 +02:00
returns-array-bad.err qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
returns-array-bad.exit qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
returns-array-bad.json qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
returns-array-bad.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
returns-int.err qapi: Add some type check tests 2015-05-05 18:39:01 +02:00
returns-int.exit qapi: Add some type check tests 2015-05-05 18:39:01 +02:00
returns-int.json qapi: Whitelist commands that don't return dictionary 2015-05-05 18:39:01 +02:00
returns-int.out qapi: Whitelist commands that don't return dictionary 2015-05-05 18:39:01 +02:00
returns-unknown.err qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
returns-unknown.exit qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
returns-unknown.json qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
returns-unknown.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
returns-whitelist.err qapi: Whitelist commands that don't return dictionary 2015-05-05 18:39:01 +02:00
returns-whitelist.exit qapi: Whitelist commands that don't return dictionary 2015-05-05 18:39:01 +02:00
returns-whitelist.json qapi: Whitelist commands that don't return dictionary 2015-05-05 18:39:01 +02:00
returns-whitelist.out qapi: Whitelist commands that don't return dictionary 2015-05-05 18:39:01 +02:00
test-qapi.py qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
trailing-comma-list.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
trailing-comma-list.exit qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05:00
trailing-comma-list.json
trailing-comma-list.out qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05:00
trailing-comma-object.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
trailing-comma-object.exit qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05:00
trailing-comma-object.json
trailing-comma-object.out qapi.py: Fix schema parser to check syntax systematically 2013-07-29 10:37:11 -05:00
type-bypass-bad-gen.err qapi: More rigorous checking for type safety bypass 2015-05-05 18:39:01 +02:00
type-bypass-bad-gen.exit qapi: More rigorous checking for type safety bypass 2015-05-05 18:39:01 +02:00
type-bypass-bad-gen.json qapi: More rigorous checking for type safety bypass 2015-05-05 18:39:01 +02:00
type-bypass-bad-gen.out qapi: More rigorous checking for type safety bypass 2015-05-05 18:39:01 +02:00
type-bypass-no-gen.err qapi: More rigorous checking for type safety bypass 2015-05-05 18:39:01 +02:00
type-bypass-no-gen.exit qapi: More rigorous checking for type safety bypass 2015-05-05 18:39:01 +02:00
type-bypass-no-gen.json qapi: More rigorous checking for type safety bypass 2015-05-05 18:39:01 +02:00
type-bypass-no-gen.out qapi: More rigorous checking for type safety bypass 2015-05-05 18:39:01 +02:00
type-bypass.err qapi: Unify type bypass and add tests 2015-05-05 18:39:01 +02:00
type-bypass.exit qapi: Unify type bypass and add tests 2015-05-05 18:39:01 +02:00
type-bypass.json qapi: Unify type bypass and add tests 2015-05-05 18:39:01 +02:00
type-bypass.out qapi: Unify type bypass and add tests 2015-05-05 18:39:01 +02:00
unclosed-list.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
unclosed-list.exit
unclosed-list.json
unclosed-list.out
unclosed-object.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
unclosed-object.exit
unclosed-object.json
unclosed-object.out
unclosed-string.err qapi: Use an explicit input file 2014-05-08 14:19:58 -04:00
unclosed-string.exit
unclosed-string.json
unclosed-string.out
union-bad-branch.err qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
union-bad-branch.exit qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
union-bad-branch.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
union-bad-branch.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
union-base-no-discriminator.err qapi: Forbid base without discriminator in unions 2015-05-05 18:39:00 +02:00
union-base-no-discriminator.exit qapi: Forbid base without discriminator in unions 2015-05-05 18:39:00 +02:00
union-base-no-discriminator.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
union-base-no-discriminator.out qapi: Forbid base without discriminator in unions 2015-05-05 18:39:00 +02:00
union-invalid-base.err qapi: Prefer 'struct' over 'type' in generator 2015-05-05 18:39:01 +02:00
union-invalid-base.exit qapi script: check correctness of union 2014-03-11 09:07:41 -04:00
union-invalid-base.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
union-invalid-base.out qapi script: check correctness of union 2014-03-11 09:07:41 -04:00
union-max.err qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
union-max.exit qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
union-max.json qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
union-max.out qapi: Tighten checking of unions 2015-05-05 18:39:00 +02:00
union-optional-branch.err qapi: Require valid names 2015-05-05 18:39:01 +02:00
union-optional-branch.exit qapi: Require valid names 2015-05-05 18:39:01 +02:00
union-optional-branch.json qapi: Require valid names 2015-05-05 18:39:01 +02:00
union-optional-branch.out qapi: Require valid names 2015-05-05 18:39:01 +02:00
union-unknown.err qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
union-unknown.exit qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
union-unknown.json qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
union-unknown.out qapi: More rigourous checking of types 2015-05-05 18:39:01 +02:00
unknown-expr-key.err qapi: Prefer 'struct' over 'type' in generator 2015-05-05 18:39:01 +02:00
unknown-expr-key.exit qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00
unknown-expr-key.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
unknown-expr-key.out qapi: Better error messages for bad expressions 2015-05-05 18:39:01 +02:00