diff options
| author | Markus Armbruster | 2021-03-23 10:39:59 +0100 |
|---|---|---|
| committer | Markus Armbruster | 2021-03-23 21:38:29 +0100 |
| commit | 00d16f239f3a1ba0b1ea09dc0852386a25a144bc (patch) | |
| tree | bb725ed9872fdce61d3c6a6c04e2d135f3e560c4 /tests/qapi-schema/flat-union-inline.json | |
| parent | qapi/pragma: Tidy up after removal of deprecated commands (diff) | |
| download | qemu-00d16f239f3a1ba0b1ea09dc0852386a25a144bc.tar.gz qemu-00d16f239f3a1ba0b1ea09dc0852386a25a144bc.tar.xz qemu-00d16f239f3a1ba0b1ea09dc0852386a25a144bc.zip | |
tests/qapi-schema: Drop redundant flat-union-inline test
flat-union-inline.json covers longhand branch definition with an
invalid type value. It's redundant: longhand branch definition is
covered by flat-union-inline-invalid-dict.json, and invalid type value
is covered by nested-struct-data.json. Drop the test.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210323094025.3569441-3-armbru@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'tests/qapi-schema/flat-union-inline.json')
| -rw-r--r-- | tests/qapi-schema/flat-union-inline.json | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/qapi-schema/flat-union-inline.json b/tests/qapi-schema/flat-union-inline.json deleted file mode 100644 index a9b3ce3f0d..0000000000 --- a/tests/qapi-schema/flat-union-inline.json +++ /dev/null @@ -1,11 +0,0 @@ -# we require branches to be a struct name -# TODO: should we allow anonymous inline branch types? -{ 'enum': 'TestEnum', - 'data': [ 'value1', 'value2' ] } -{ 'struct': 'Base', - 'data': { 'enum1': 'TestEnum', 'kind': 'str' } } -{ 'union': 'TestUnion', - 'base': 'Base', - 'discriminator': 'enum1', - 'data': { 'value1': { 'type': {} }, - 'value2': { 'integer': 'int' } } } |
