qemu-e2k/tests/qapi-schema
Eric Blake ac4338f8eb qapi: Allow anonymous base for flat union
Rather than requiring all flat unions to explicitly create
a separate base struct, we can allow the qapi schema to specify
the common members via an inline dictionary. This is similar to
how commands can specify an inline anonymous type for its 'data'.
We already have several struct types that only exist to serve as
a single flat union's base; the next commit will clean them up.
In particular, this patch's change to the BlockdevOptions example
in qapi-code-gen.txt will actually be done in the real QAPI schema.

Now that anonymous bases are legal, we need to rework the
flat-union-bad-base negative test (as previously written, it
forms what is now valid QAPI; tweak it to now provide coverage
of a new error message path), and add a positive test in
qapi-schema-test to use an anonymous base (making the integer
argument optional, for even more coverage).

Note that this patch only allows anonymous bases for flat unions;
simple unions are already enough syntactic sugar that we do not
want to burden them further.  Meanwhile, while it would be easy
to also allow an anonymous base for structs, that would be quite
redundant, as the members can be put right into the struct
instead.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1458254921-17042-15-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2016-03-18 10:29:26 +01:00
..
include
alternate-any.err qapi: Forbid 'any' inside an alternate 2016-02-19 11:08:56 +01:00
alternate-any.exit qapi: Forbid 'any' inside an alternate 2016-02-19 11:08:56 +01:00
alternate-any.json qapi: Forbid 'any' inside an alternate 2016-02-19 11:08:56 +01:00
alternate-any.out qapi: Forbid 'any' inside an alternate 2016-02-19 11:08:56 +01:00
alternate-array.err
alternate-array.exit
alternate-array.json
alternate-array.out
alternate-base.err
alternate-base.exit
alternate-base.json
alternate-base.out
alternate-clash.err qapi: Move duplicate collision checks to schema check() 2015-12-17 08:21:29 +01:00
alternate-clash.exit
alternate-clash.json qapi: Test for various name collisions 2015-10-12 18:44:54 +02:00
alternate-clash.out
alternate-conflict-dict.err
alternate-conflict-dict.exit
alternate-conflict-dict.json
alternate-conflict-dict.out
alternate-conflict-string.err
alternate-conflict-string.exit
alternate-conflict-string.json
alternate-conflict-string.out
alternate-empty.err qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
alternate-empty.exit qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
alternate-empty.json qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
alternate-empty.out qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
alternate-nested.err
alternate-nested.exit
alternate-nested.json qapi: Add tests for empty unions 2015-10-12 18:44:54 +02:00
alternate-nested.out
alternate-unknown.err
alternate-unknown.exit
alternate-unknown.json qapi: Add tests for empty unions 2015-10-12 18:44:54 +02:00
alternate-unknown.out
args-alternate.err qapi-tests: New tests for union, alternate command arguments 2015-09-04 15:47:15 +02:00
args-alternate.exit qapi-tests: New tests for union, alternate command arguments 2015-09-04 15:47:15 +02:00
args-alternate.json qapi-tests: New tests for union, alternate command arguments 2015-09-04 15:47:15 +02:00
args-alternate.out qapi-tests: New tests for union, alternate command arguments 2015-09-04 15:47:15 +02:00
args-any.err qapi: Introduce a first class 'any' type 2015-09-21 09:56:49 +02:00
args-any.exit qapi: Introduce a first class 'any' type 2015-09-21 09:56:49 +02:00
args-any.json qapi: Introduce a first class 'any' type 2015-09-21 09:56:49 +02:00
args-any.out qapi: Introduce a first class 'any' type 2015-09-21 09:56:49 +02:00
args-array-empty.err tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-array-empty.exit tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-array-empty.json tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-array-empty.out tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-array-unknown.err qapi: Simplify error reporting for array types 2015-09-04 15:47:16 +02:00
args-array-unknown.exit tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-array-unknown.json tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-array-unknown.out tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-int.err tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-int.exit tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-int.json tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-int.out tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-invalid.err qapi: Fix errors for non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
args-invalid.exit tests/qapi-schema: Cover non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
args-invalid.json qapi: Fix errors for non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
args-invalid.out tests/qapi-schema: Cover non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
args-member-array-bad.err tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-member-array-bad.exit tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-member-array-bad.json tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-member-array-bad.out tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-member-case.err qapi: Enforce (or whitelist) case conventions on qapi members 2015-12-17 08:21:29 +01:00
args-member-case.exit qapi: Enforce (or whitelist) case conventions on qapi members 2015-12-17 08:21:29 +01:00
args-member-case.json qapi: Enforce (or whitelist) case conventions on qapi members 2015-12-17 08:21:29 +01:00
args-member-case.out qapi: Enforce (or whitelist) case conventions on qapi members 2015-12-17 08:21:29 +01:00
args-member-unknown.err tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-member-unknown.exit tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-member-unknown.json tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-member-unknown.out tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-name-clash.err qapi: Detect collisions in C member names 2015-12-17 08:21:27 +01:00
args-name-clash.exit qapi: Detect collisions in C member names 2015-12-17 08:21:27 +01:00
args-name-clash.json qapi: Detect collisions in C member names 2015-12-17 08:21:27 +01:00
args-name-clash.out qapi: Detect collisions in C member names 2015-12-17 08:21:27 +01:00
args-union.err qapi: Fix to reject union command and event arguments 2015-09-04 15:47:15 +02:00
args-union.exit qapi: Fix to reject union command and event arguments 2015-09-04 15:47:15 +02:00
args-union.json qapi: Fix to reject union command and event arguments 2015-09-04 15:47:15 +02:00
args-union.out qapi: Fix to reject union command and event arguments 2015-09-04 15:47:15 +02:00
args-unknown.err tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-unknown.exit tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-unknown.json tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
args-unknown.out tests/qapi-schema: Rename tests from data- to args- 2015-09-04 15:47:15 +02:00
bad-base.err
bad-base.exit
bad-base.json
bad-base.out
bad-data.err
bad-data.exit
bad-data.json
bad-data.out
bad-ident.err
bad-ident.exit
bad-ident.json
bad-ident.out
bad-type-bool.err
bad-type-bool.exit
bad-type-bool.json
bad-type-bool.out
bad-type-dict.err
bad-type-dict.exit
bad-type-dict.json
bad-type-dict.out
bad-type-int.err
bad-type-int.exit
bad-type-int.json
bad-type-int.out
base-cycle-direct.err qapi: Detect base class loops 2015-12-17 08:21:29 +01:00
base-cycle-direct.exit qapi: Detect base class loops 2015-12-17 08:21:29 +01:00
base-cycle-direct.json qapi: Detect base class loops 2015-12-17 08:21:29 +01:00
base-cycle-direct.out qapi: Detect base class loops 2015-12-17 08:21:29 +01:00
base-cycle-indirect.err qapi: Detect base class loops 2015-12-17 08:21:29 +01:00
base-cycle-indirect.exit qapi: Detect base class loops 2015-12-17 08:21:29 +01:00
base-cycle-indirect.json qapi: Detect base class loops 2015-12-17 08:21:29 +01:00
base-cycle-indirect.out qapi: Detect base class loops 2015-12-17 08:21:29 +01:00
command-int.err
command-int.exit
command-int.json qapi: Command returning anonymous type doesn't work, outlaw 2015-09-04 15:47:15 +02:00
command-int.out
comments.err
comments.exit
comments.json
comments.out qapi: Adjust names of implicit types 2016-03-18 10:29:25 +01:00
double-data.err
double-data.exit
double-data.json
double-data.out
double-type.err
double-type.exit
double-type.json
double-type.out
duplicate-key.err qapi: Test for various name collisions 2015-10-12 18:44:54 +02:00
duplicate-key.exit
duplicate-key.json qapi: Test for various name collisions 2015-10-12 18:44:54 +02:00
duplicate-key.out
empty.err
empty.exit
empty.json
empty.out qapi: Adjust names of implicit types 2016-03-18 10:29:25 +01:00
enum-bad-name.err
enum-bad-name.exit
enum-bad-name.json
enum-bad-name.out
enum-bad-prefix.err qapi: allow override of default enum prefix naming 2015-09-15 10:59:28 +01:00
enum-bad-prefix.exit qapi: allow override of default enum prefix naming 2015-09-15 10:59:28 +01:00
enum-bad-prefix.json qapi: allow override of default enum prefix naming 2015-09-15 10:59:28 +01:00
enum-bad-prefix.out qapi: allow override of default enum prefix naming 2015-09-15 10:59:28 +01:00
enum-clash-member.err qapi: Move duplicate collision checks to schema check() 2015-12-17 08:21:29 +01:00
enum-clash-member.exit
enum-clash-member.json qapi: Move duplicate collision checks to schema check() 2015-12-17 08:21:29 +01:00
enum-clash-member.out
enum-dict-member.err
enum-dict-member.exit
enum-dict-member.json
enum-dict-member.out
enum-int-member.err
enum-int-member.exit
enum-int-member.json
enum-int-member.out
enum-member-case.err qapi: Enforce (or whitelist) case conventions on qapi members 2015-12-17 08:21:29 +01:00
enum-member-case.exit qapi: Enforce (or whitelist) case conventions on qapi members 2015-12-17 08:21:29 +01:00
enum-member-case.json qapi: Enforce (or whitelist) case conventions on qapi members 2015-12-17 08:21:29 +01:00
enum-member-case.out qapi: Enforce (or whitelist) case conventions on qapi members 2015-12-17 08:21:29 +01:00
enum-missing-data.err
enum-missing-data.exit
enum-missing-data.json
enum-missing-data.out
enum-wrong-data.err
enum-wrong-data.exit
enum-wrong-data.json
enum-wrong-data.out
escape-outside-string.err
escape-outside-string.exit
escape-outside-string.json
escape-outside-string.out
escape-too-big.err
escape-too-big.exit
escape-too-big.json
escape-too-big.out
escape-too-short.err
escape-too-short.exit
escape-too-short.json
escape-too-short.out
event-case.err
event-case.exit
event-case.json
event-case.out qapi: Adjust names of implicit types 2016-03-18 10:29:25 +01:00
event-nest-struct.err
event-nest-struct.exit
event-nest-struct.json
event-nest-struct.out
flat-union-array-branch.err qapi: Catch and reject flat union branch of array type 2015-06-18 14:19:47 +02:00
flat-union-array-branch.exit tests/qapi-schema: New flat union array branch test case 2015-06-18 14:19:47 +02:00
flat-union-array-branch.json tests/qapi-schema: New flat union array branch test case 2015-06-18 14:19:47 +02:00
flat-union-array-branch.out tests/qapi-schema: New flat union array branch test case 2015-06-18 14:19:47 +02:00
flat-union-bad-base.err qapi: Allow anonymous base for flat union 2016-03-18 10:29:26 +01:00
flat-union-bad-base.exit
flat-union-bad-base.json qapi: Allow anonymous base for flat union 2016-03-18 10:29:26 +01:00
flat-union-bad-base.out
flat-union-bad-discriminator.err
flat-union-bad-discriminator.exit
flat-union-bad-discriminator.json
flat-union-bad-discriminator.out
flat-union-base-any.err qapi: Reuse code for flat union base validation 2015-10-12 18:46:49 +02:00
flat-union-base-any.exit qapi: Introduce a first class 'any' type 2015-09-21 09:56:49 +02:00
flat-union-base-any.json qapi: Introduce a first class 'any' type 2015-09-21 09:56:49 +02:00
flat-union-base-any.out qapi: Introduce a first class 'any' type 2015-09-21 09:56:49 +02:00
flat-union-base-union.err qapi: Reuse code for flat union base validation 2015-10-12 18:46:49 +02:00
flat-union-base-union.exit
flat-union-base-union.json qapi: Test for various name collisions 2015-10-12 18:44:54 +02:00
flat-union-base-union.out
flat-union-clash-member.err qapi: Move duplicate collision checks to schema check() 2015-12-17 08:21:29 +01:00
flat-union-clash-member.exit qapi: Test for various name collisions 2015-10-12 18:44:54 +02:00
flat-union-clash-member.json qapi: Test for various name collisions 2015-10-12 18:44:54 +02:00
flat-union-clash-member.out qapi: Test for various name collisions 2015-10-12 18:44:54 +02:00
flat-union-empty.err qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
flat-union-empty.exit qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
flat-union-empty.json qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
flat-union-empty.out qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
flat-union-inline.err qapi: Reuse code for flat union base validation 2015-10-12 18:46:49 +02:00
flat-union-inline.exit
flat-union-inline.json qapi: Reuse code for flat union base validation 2015-10-12 18:46:49 +02:00
flat-union-inline.out
flat-union-int-branch.err
flat-union-int-branch.exit
flat-union-int-branch.json
flat-union-int-branch.out
flat-union-invalid-branch-key.err
flat-union-invalid-branch-key.exit
flat-union-invalid-branch-key.json
flat-union-invalid-branch-key.out
flat-union-invalid-discriminator.err
flat-union-invalid-discriminator.exit
flat-union-invalid-discriminator.json
flat-union-invalid-discriminator.out
flat-union-no-base.err qapi: Reuse code for flat union base validation 2015-10-12 18:46:49 +02:00
flat-union-no-base.exit
flat-union-no-base.json
flat-union-no-base.out
flat-union-optional-discriminator.err
flat-union-optional-discriminator.exit
flat-union-optional-discriminator.json
flat-union-optional-discriminator.out
flat-union-string-discriminator.err
flat-union-string-discriminator.exit
flat-union-string-discriminator.json
flat-union-string-discriminator.out
funny-char.err
funny-char.exit
funny-char.json
funny-char.out
ident-with-escape.err
ident-with-escape.exit
ident-with-escape.json
ident-with-escape.out qapi: Adjust names of implicit types 2016-03-18 10:29:25 +01:00
include-before-err.err
include-before-err.exit
include-before-err.json
include-before-err.out
include-cycle-b.json
include-cycle-c.json
include-cycle.err qapi: Fix file name in error messages for included files 2015-06-18 14:12:34 +02:00
include-cycle.exit
include-cycle.json
include-cycle.out
include-format-err.err
include-format-err.exit
include-format-err.json
include-format-err.out
include-nested-err.err qapi: Fix file name in error messages for included files 2015-06-18 14:12:34 +02:00
include-nested-err.exit
include-nested-err.json
include-nested-err.out
include-no-file.err
include-no-file.exit
include-no-file.json
include-no-file.out
include-non-file.err qapi: Improve 'include' error message 2015-10-12 18:44:54 +02:00
include-non-file.exit
include-non-file.json qapi: Improve 'include' error message 2015-10-12 18:44:54 +02:00
include-non-file.out
include-relpath-sub.json
include-relpath.err
include-relpath.exit
include-relpath.json
include-relpath.out qapi: Adjust names of implicit types 2016-03-18 10:29:25 +01:00
include-repetition-sub.json
include-repetition.err
include-repetition.exit
include-repetition.json
include-repetition.out qapi: Adjust names of implicit types 2016-03-18 10:29:25 +01:00
include-self-cycle.err
include-self-cycle.exit
include-self-cycle.json
include-self-cycle.out
include-simple-sub.json
include-simple.err
include-simple.exit
include-simple.json
include-simple.out qapi: Adjust names of implicit types 2016-03-18 10:29:25 +01:00
indented-expr.err
indented-expr.exit
indented-expr.json
indented-expr.out qapi: Adjust names of implicit types 2016-03-18 10:29:25 +01:00
leading-comma-list.err tests/qapi-schema: Cover two more syntax errors 2015-09-04 15:47:16 +02:00
leading-comma-list.exit tests/qapi-schema: Cover two more syntax errors 2015-09-04 15:47:16 +02:00
leading-comma-list.json tests/qapi-schema: Cover two more syntax errors 2015-09-04 15:47:16 +02:00
leading-comma-list.out tests/qapi-schema: Cover two more syntax errors 2015-09-04 15:47:16 +02:00
leading-comma-object.err tests/qapi-schema: Cover two more syntax errors 2015-09-04 15:47:16 +02:00
leading-comma-object.exit tests/qapi-schema: Cover two more syntax errors 2015-09-04 15:47:16 +02:00
leading-comma-object.json tests/qapi-schema: Cover two more syntax errors 2015-09-04 15:47:16 +02:00
leading-comma-object.out tests/qapi-schema: Cover two more syntax errors 2015-09-04 15:47:16 +02:00
missing-colon.err
missing-colon.exit
missing-colon.json
missing-colon.out
missing-comma-list.err
missing-comma-list.exit
missing-comma-list.json
missing-comma-list.out
missing-comma-object.err
missing-comma-object.exit
missing-comma-object.json
missing-comma-object.out
missing-type.err
missing-type.exit
missing-type.json
missing-type.out
nested-struct-data.err
nested-struct-data.exit
nested-struct-data.json qapi: Command returning anonymous type doesn't work, outlaw 2015-09-04 15:47:15 +02:00
nested-struct-data.out
non-objects.err
non-objects.exit
non-objects.json
non-objects.out
qapi-schema-test.err
qapi-schema-test.exit
qapi-schema-test.json qapi: Allow anonymous base for flat union 2016-03-18 10:29:26 +01:00
qapi-schema-test.out qapi: Allow anonymous base for flat union 2016-03-18 10:29:26 +01:00
quoted-structural-chars.err
quoted-structural-chars.exit
quoted-structural-chars.json
quoted-structural-chars.out
redefined-builtin.err
redefined-builtin.exit
redefined-builtin.json
redefined-builtin.out
redefined-command.err
redefined-command.exit
redefined-command.json
redefined-command.out
redefined-event.err
redefined-event.exit
redefined-event.json
redefined-event.out
redefined-type.err
redefined-type.exit
redefined-type.json
redefined-type.out
reserved-command-q.err qapi: Reserve 'q_*' and 'has_*' member names 2015-11-02 08:30:26 +01:00
reserved-command-q.exit qapi: Reserve 'q_*' and 'has_*' member names 2015-11-02 08:30:26 +01:00
reserved-command-q.json qapi: Reserve 'q_*' and 'has_*' member names 2015-11-02 08:30:26 +01:00
reserved-command-q.out qapi: Reserve 'q_*' and 'has_*' member names 2015-11-02 08:30:26 +01:00
reserved-enum-q.err qapi: Tighten the regex on valid names 2015-12-17 08:21:27 +01:00
reserved-enum-q.exit qapi: Tighten the regex on valid names 2015-12-17 08:21:27 +01:00
reserved-enum-q.json qapi: Tighten the regex on valid names 2015-12-17 08:21:27 +01:00
reserved-enum-q.out qapi: Tighten the regex on valid names 2015-12-17 08:21:27 +01:00
reserved-member-has.err qapi: Reserve 'q_*' and 'has_*' member names 2015-11-02 08:30:26 +01:00
reserved-member-has.exit qapi: Reserve 'q_*' and 'has_*' member names 2015-11-02 08:30:26 +01:00
reserved-member-has.json qapi: Reserve 'q_*' and 'has_*' member names 2015-11-02 08:30:26 +01:00
reserved-member-has.out qapi: Reserve 'q_*' and 'has_*' member names 2015-11-02 08:30:26 +01:00
reserved-member-q.err qapi: Reserve 'q_*' and 'has_*' member names 2015-11-02 08:30:26 +01:00
reserved-member-q.exit qapi: Reserve 'q_*' and 'has_*' member names 2015-11-02 08:30:26 +01:00
reserved-member-q.json qapi: Reserve 'q_*' and 'has_*' member names 2015-11-02 08:30:26 +01:00
reserved-member-q.out qapi: Reserve 'q_*' and 'has_*' member names 2015-11-02 08:30:26 +01:00
reserved-member-u.err qapi: Reserve 'u' member name 2015-11-02 08:30:28 +01:00
reserved-member-u.exit qapi: Reserve 'u' member name 2015-11-02 08:30:28 +01:00
reserved-member-u.json qapi: Reserve 'u' member name 2015-11-02 08:30:28 +01:00
reserved-member-u.out qapi: Reserve 'u' member name 2015-11-02 08:30:28 +01:00
reserved-member-underscore.err qapi: Tighten the regex on valid names 2015-12-17 08:21:27 +01:00
reserved-member-underscore.exit qapi: Tighten the regex on valid names 2015-12-17 08:21:27 +01:00
reserved-member-underscore.json qapi: Tighten the regex on valid names 2015-12-17 08:21:27 +01:00
reserved-member-underscore.out qapi: Tighten the regex on valid names 2015-12-17 08:21:27 +01:00
reserved-type-kind.err tests/qapi-schema: Test for reserved names, empty struct 2015-11-02 08:30:25 +01:00
reserved-type-kind.exit tests/qapi-schema: Test for reserved names, empty struct 2015-11-02 08:30:25 +01:00
reserved-type-kind.json tests/qapi-schema: Test for reserved names, empty struct 2015-11-02 08:30:25 +01:00
reserved-type-kind.out tests/qapi-schema: Test for reserved names, empty struct 2015-11-02 08:30:25 +01:00
reserved-type-list.err qapi: Reserve '*List' type names for list types 2015-11-02 08:30:26 +01:00
reserved-type-list.exit qapi: Reserve '*List' type names for list types 2015-11-02 08:30:26 +01:00
reserved-type-list.json qapi: Reserve '*List' type names for list types 2015-11-02 08:30:26 +01:00
reserved-type-list.out qapi: Reserve '*List' type names for list types 2015-11-02 08:30:26 +01:00
returns-alternate.err
returns-alternate.exit
returns-alternate.json
returns-alternate.out
returns-array-bad.err
returns-array-bad.exit
returns-array-bad.json
returns-array-bad.out
returns-dict.err qapi: Command returning anonymous type doesn't work, outlaw 2015-09-04 15:47:15 +02:00
returns-dict.exit qapi: Command returning anonymous type doesn't work, outlaw 2015-09-04 15:47:15 +02:00
returns-dict.json qapi: Command returning anonymous type doesn't work, outlaw 2015-09-04 15:47:15 +02:00
returns-dict.out qapi: Command returning anonymous type doesn't work, outlaw 2015-09-04 15:47:15 +02:00
returns-unknown.err
returns-unknown.exit
returns-unknown.json
returns-unknown.out
returns-whitelist.err qapi: Simplify error reporting for array types 2015-09-04 15:47:16 +02:00
returns-whitelist.exit
returns-whitelist.json
returns-whitelist.out
struct-base-clash-deep.err qapi: Move duplicate collision checks to schema check() 2015-12-17 08:21:29 +01:00
struct-base-clash-deep.exit
struct-base-clash-deep.json qapi: Test for various name collisions 2015-10-12 18:44:54 +02:00
struct-base-clash-deep.out
struct-base-clash.err qapi: Move duplicate collision checks to schema check() 2015-12-17 08:21:29 +01:00
struct-base-clash.exit
struct-base-clash.json qapi: Test for various name collisions 2015-10-12 18:44:54 +02:00
struct-base-clash.out
struct-data-invalid.err qapi: Fix errors for non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
struct-data-invalid.exit tests/qapi-schema: Cover non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
struct-data-invalid.json qapi: Fix errors for non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
struct-data-invalid.out tests/qapi-schema: Cover non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
struct-member-invalid.err qapi: Fix errors for non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
struct-member-invalid.exit tests/qapi-schema: Cover non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
struct-member-invalid.json qapi: Fix errors for non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
struct-member-invalid.out tests/qapi-schema: Cover non-string, non-dictionary members 2015-09-04 15:47:16 +02:00
test-qapi.py tests/qapi-schema: Convert test harness to QAPISchemaVisitor 2015-09-21 09:32:50 +02:00
trailing-comma-list.err
trailing-comma-list.exit
trailing-comma-list.json
trailing-comma-list.out
trailing-comma-object.err
trailing-comma-object.exit
trailing-comma-object.json
trailing-comma-object.out
type-bypass-bad-gen.err
type-bypass-bad-gen.exit
type-bypass-bad-gen.json
type-bypass-bad-gen.out
unclosed-list.err
unclosed-list.exit
unclosed-list.json
unclosed-list.out
unclosed-object.err
unclosed-object.exit
unclosed-object.json
unclosed-object.out
unclosed-string.err
unclosed-string.exit
unclosed-string.json
unclosed-string.out
unicode-str.err
unicode-str.exit
unicode-str.json
unicode-str.out
union-base-no-discriminator.err qapi: Drop one of two "simple union must not have base" checks 2015-09-04 15:47:16 +02:00
union-base-no-discriminator.exit
union-base-no-discriminator.json
union-base-no-discriminator.out
union-branch-case.err qapi: Enforce (or whitelist) case conventions on qapi members 2015-12-17 08:21:29 +01:00
union-branch-case.exit qapi: Enforce (or whitelist) case conventions on qapi members 2015-12-17 08:21:29 +01:00
union-branch-case.json qapi: Enforce (or whitelist) case conventions on qapi members 2015-12-17 08:21:29 +01:00
union-branch-case.out qapi: Enforce (or whitelist) case conventions on qapi members 2015-12-17 08:21:29 +01:00
union-clash-branches.err qapi: Move duplicate collision checks to schema check() 2015-12-17 08:21:29 +01:00
union-clash-branches.exit qapi: Test for various name collisions 2015-10-12 18:44:54 +02:00
union-clash-branches.json qapi: Move duplicate collision checks to schema check() 2015-12-17 08:21:29 +01:00
union-clash-branches.out qapi: Test for various name collisions 2015-10-12 18:44:54 +02:00
union-empty.err qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
union-empty.exit qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
union-empty.json qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
union-empty.out qapi: Forbid empty unions and useless alternates 2016-02-19 11:08:56 +01:00
union-invalid-base.err qapi: Reuse code for flat union base validation 2015-10-12 18:46:49 +02:00
union-invalid-base.exit
union-invalid-base.json
union-invalid-base.out
union-optional-branch.err
union-optional-branch.exit
union-optional-branch.json
union-optional-branch.out
union-unknown.err
union-unknown.exit
union-unknown.json
union-unknown.out
unknown-escape.err
unknown-escape.exit
unknown-escape.json
unknown-escape.out
unknown-expr-key.err
unknown-expr-key.exit
unknown-expr-key.json
unknown-expr-key.out