tests/qapi-schema: Demonstrate command and event doc comment bugs

Add negative tests doc-bad-boxed-command-arg and doc-bad-event-arg to
cover boxed and no arguments.  They demonstrate insufficient doc
comment checking.

Update positive test doc-good to cover boxed event arguments.  It
demonstrates the generated doc comment misses arguments.

These bugs will be fixed later in this series.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191024110237.30963-3-armbru@redhat.com>
This commit is contained in:
Markus Armbruster 2019-10-24 13:02:20 +02:00
parent f035b47e3f
commit 717cfcfae6
10 changed files with 90 additions and 0 deletions

View file

@ -0,0 +1,19 @@
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-event-arg.json
event FOO None
boxed=False
doc symbol=FOO
body=
arg=a
a