qemu-patch-raspberry4/tests/qapi-schema/doc-bad-event-arg.json
Markus Armbruster 717cfcfae6 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>
2019-10-29 07:35:16 +01:00

9 lines
150 B
JSON

# Arguments listed in the doc comment must exist in the actual schema
# BUG: nonexistent @a is not rejected
##
# @FOO:
# @a: a
##
{ 'event': 'FOO' }