]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/qapi-schema: Demonstrate command and event doc comment bugs
authorMarkus Armbruster <armbru@redhat.com>
Thu, 24 Oct 2019 11:02:20 +0000 (13:02 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 29 Oct 2019 06:35:16 +0000 (07:35 +0100)
commit717cfcfae6df46c82b1ae191ec7ae6e0e288c914
treefa73bcae84d677900b227f6c3fa3f9d5d86a72dc
parentf035b47e3f461e04e36e709aaad8bc8048b5f739
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>
tests/Makefile.include
tests/qapi-schema/doc-bad-boxed-command-arg.err [new file with mode: 0644]
tests/qapi-schema/doc-bad-boxed-command-arg.json [new file with mode: 0644]
tests/qapi-schema/doc-bad-boxed-command-arg.out [new file with mode: 0644]
tests/qapi-schema/doc-bad-event-arg.err [new file with mode: 0644]
tests/qapi-schema/doc-bad-event-arg.json [new file with mode: 0644]
tests/qapi-schema/doc-bad-event-arg.out [new file with mode: 0644]
tests/qapi-schema/doc-good.json
tests/qapi-schema/doc-good.out
tests/qapi-schema/doc-good.texi