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>
16 lines
252 B
JSON
16 lines
252 B
JSON
# Boxed arguments are not to be documented with the command
|
|
# BUG: not rejected
|
|
|
|
##
|
|
# @Args:
|
|
# @a: an argument
|
|
##
|
|
{ 'struct': 'Args', 'data': { 'a': 'int' } }
|
|
|
|
##
|
|
# @cmd-boxed:
|
|
# @a: bogus
|
|
##
|
|
{ 'command': 'cmd-boxed', 'boxed': true,
|
|
'data': 'Args' }
|