From 00d16f239f3a1ba0b1ea09dc0852386a25a144bc Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Tue, 23 Mar 2021 10:39:59 +0100 Subject: 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 Message-Id: <20210323094025.3569441-3-armbru@redhat.com> Reviewed-by: John Snow --- tests/qapi-schema/flat-union-inline.json | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 tests/qapi-schema/flat-union-inline.json (limited to 'tests/qapi-schema/flat-union-inline.json') 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' } } } -- cgit v1.2.3-55-g7522