mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
tests/qapi-schema: Improve coverage of bogus member docs
New test doc-bad-union-member.json shows we can fail to reject documentation for nonexistent members. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1489582656-31133-37-git-send-email-armbru@redhat.com>
This commit is contained in:
parent
bdc001caaa
commit
f641d06ad6
9 changed files with 44 additions and 0 deletions
11
tests/qapi-schema/doc-bad-union-member.out
Normal file
11
tests/qapi-schema/doc-bad-union-member.out
Normal file
|
@ -0,0 +1,11 @@
|
|||
object Base
|
||||
member type: T optional=False
|
||||
object Empty
|
||||
object Frob
|
||||
base Base
|
||||
tag type
|
||||
case nothing: Empty
|
||||
enum QType ['none', 'qnull', 'qint', 'qstring', 'qdict', 'qlist', 'qfloat', 'qbool']
|
||||
prefix QTYPE
|
||||
enum T ['nothing']
|
||||
object q_empty
|
Loading…
Add table
Add a link
Reference in a new issue