mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
tests/qapi-schema: Demonstrate feature and enum doc comment bugs
Add negative tests doc-bad-enum-member and doc-bad-feature to cover documentation for nonexistent enum members and features, and test doc-undoc-feature to cover features lacking documentation. None of them works. To be fixed later in this series. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20191024110237.30963-2-armbru@redhat.com>
This commit is contained in:
parent
aaffb85335
commit
f035b47e3f
10 changed files with 89 additions and 0 deletions
17
tests/qapi-schema/doc-bad-feature.out
Normal file
17
tests/qapi-schema/doc-bad-feature.out
Normal file
|
@ -0,0 +1,17 @@
|
|||
module None
|
||||
object q_empty
|
||||
enum QType
|
||||
prefix QTYPE
|
||||
member none
|
||||
member qnull
|
||||
member qnum
|
||||
member qstring
|
||||
member qdict
|
||||
member qlist
|
||||
member qbool
|
||||
module doc-bad-feature.json
|
||||
command foo None -> None
|
||||
gen=True success_response=True boxed=False oob=False preconfig=False
|
||||
doc symbol=foo
|
||||
body=
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue