mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 18:05:37 +00:00
![Markus Armbruster](/assets/img/avatar_default.png)
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>
8 lines
237 B
JSON
8 lines
237 B
JSON
# Reject attempts to duplicate QMP members
|
|
# Here, 'name' would have to appear twice on the wire, locally and for base.
|
|
{ 'struct': 'Base',
|
|
'data': { 'name': 'str' } }
|
|
{ 'struct': 'Sub',
|
|
'base': 'Base',
|
|
'data': { 'name': 'str' } }
|