summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/flat-union-int-branch.json
diff options
context:
space:
mode:
authorMarkus Armbruster2021-09-17 16:31:33 +0200
committerMarkus Armbruster2021-09-27 08:23:25 +0200
commit8b3b3a16dfca57b7c4e7b8af215aec96880153d7 (patch)
treea4d6838ead2f7a8ef8e45240e310987c373be1cc /tests/qapi-schema/flat-union-int-branch.json
parentqapi: Drop simple unions (diff)
downloadqemu-8b3b3a16dfca57b7c4e7b8af215aec96880153d7.tar.gz
qemu-8b3b3a16dfca57b7c4e7b8af215aec96880153d7.tar.xz
qemu-8b3b3a16dfca57b7c4e7b8af215aec96880153d7.zip
tests/qapi-schema: Rename flat-union-* test cases to union-*
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20210917143134.412106-23-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com
Diffstat (limited to 'tests/qapi-schema/flat-union-int-branch.json')
-rw-r--r--tests/qapi-schema/flat-union-int-branch.json12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/qapi-schema/flat-union-int-branch.json b/tests/qapi-schema/flat-union-int-branch.json
deleted file mode 100644
index 567043d9d2..0000000000
--- a/tests/qapi-schema/flat-union-int-branch.json
+++ /dev/null
@@ -1,12 +0,0 @@
-# we require union branches to be a struct
-{ 'enum': 'TestEnum',
- 'data': [ 'value1', 'value2' ] }
-{ 'struct': 'Base',
- 'data': { 'enum1': 'TestEnum' } }
-{ 'struct': 'TestTypeB',
- 'data': { 'integer': 'int' } }
-{ 'union': 'TestUnion',
- 'base': 'Base',
- 'discriminator': 'enum1',
- 'data': { 'value1': 'int',
- 'value2': 'TestTypeB' } }