aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/flat-union-base-union.json
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2017-03-15 13:56:52 +0100
committerMarkus Armbruster <armbru@redhat.com>2017-03-16 07:13:01 +0100
commit87c16dcecae62ce324ba6cb360b86434cb324c95 (patch)
treed1e9e97a32598af0837a5e9f4c282c9d275e188b /tests/qapi-schema/flat-union-base-union.json
parentbc52d03ff589a033843b4603cfdfd1518867c626 (diff)
downloadqemu-87c16dcecae62ce324ba6cb360b86434cb324c95.zip
qemu-87c16dcecae62ce324ba6cb360b86434cb324c95.tar.gz
qemu-87c16dcecae62ce324ba6cb360b86434cb324c95.tar.bz2
qapi: Back out doc comments added just to please qapi.py
This reverts commit 3313b61's changes to tests/qapi-schema/, except for tests/qapi-schema/doc-*. We could keep some of these doc comments to serve as positive test cases. However, they don't actually add to what we get from doc comment use in actual schemas, as we we don't test output matches expectations, and don't systematically cover doc comment features. Proper positive test coverage would be nice. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1489582656-31133-4-git-send-email-armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/flat-union-base-union.json')
-rw-r--r--tests/qapi-schema/flat-union-base-union.json16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/qapi-schema/flat-union-base-union.json b/tests/qapi-schema/flat-union-base-union.json
index c63c613..98b4eba 100644
--- a/tests/qapi-schema/flat-union-base-union.json
+++ b/tests/qapi-schema/flat-union-base-union.json
@@ -2,31 +2,15 @@
# TODO: It would be possible to allow a union as a base, as long as all
# permutations of QMP names exposed by base do not clash with any QMP
# member names added by local variants.
-
-##
-# @TestEnum:
-##
{ 'enum': 'TestEnum',
'data': [ 'value1', 'value2' ] }
-##
-# @TestTypeA:
-##
{ 'struct': 'TestTypeA',
'data': { 'string': 'str' } }
-##
-# @TestTypeB:
-##
{ 'struct': 'TestTypeB',
'data': { 'integer': 'int' } }
-##
-# @UnionBase:
-##
{ 'union': 'UnionBase',
'data': { 'kind1': 'TestTypeA',
'kind2': 'TestTypeB' } }
-##
-# @TestUnion:
-##
{ 'union': 'TestUnion',
'base': 'UnionBase',
'discriminator': 'type',