summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/qapi-schema-test.json
diff options
context:
space:
mode:
authorMarc-André Lureau2017-06-07 18:35:55 +0200
committerMarkus Armbruster2017-06-19 14:56:29 +0200
commit7c877c80308a8d0166029494e2e236c1f95336e8 (patch)
tree1acfc858eb9b4aea03dc6663cc00ed0473775740 /tests/qapi-schema/qapi-schema-test.json
parentobject: fix potential leak in getters (diff)
downloadqemu-7c877c80308a8d0166029494e2e236c1f95336e8.tar.gz
qemu-7c877c80308a8d0166029494e2e236c1f95336e8.tar.xz
qemu-7c877c80308a8d0166029494e2e236c1f95336e8.zip
tests: Remove test cases for alternates of 'number' and 'int'
Alternates with both a 'number' and an 'int' branch will become invalid when the next patch merges of QFloat and QInt into QNum. More sophisticated alternate code could keep them valid, but since we have no users outside tests, simply drop the tests. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20170607163635.17635-4-marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/qapi-schema-test.json')
-rw-r--r--tests/qapi-schema/qapi-schema-test.json2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/qapi-schema/qapi-schema-test.json b/tests/qapi-schema/qapi-schema-test.json
index 17649c6398..91ffb2648c 100644
--- a/tests/qapi-schema/qapi-schema-test.json
+++ b/tests/qapi-schema/qapi-schema-test.json
@@ -103,8 +103,6 @@
{ 'alternate': 'AltEnumNum', 'data': { 'e': 'EnumOne', 'n': 'number' } }
{ 'alternate': 'AltNumEnum', 'data': { 'n': 'number', 'e': 'EnumOne' } }
{ 'alternate': 'AltEnumInt', 'data': { 'e': 'EnumOne', 'i': 'int' } }
-{ 'alternate': 'AltIntNum', 'data': { 'i': 'int', 'n': 'number' } }
-{ 'alternate': 'AltNumInt', 'data': { 'n': 'number', 'i': 'int' } }
# for testing use of 'str' within alternates
{ 'alternate': 'AltStrObj', 'data': { 's': 'str', 'o': 'TestStruct' } }