aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/doc-good.texi
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2019-10-18 10:14:53 +0200
committerMarkus Armbruster <armbru@redhat.com>2019-10-22 13:54:13 +0200
commit79598c8a634c21de9ac7b5a04c03bf4f13967191 (patch)
treea9797e0860de69c35729852831874a6d718ec169 /tests/qapi-schema/doc-good.texi
parent2e2e0df2706886488caf3d0dd22d4fe3acc4d4e0 (diff)
downloadqemu-79598c8a634c21de9ac7b5a04c03bf4f13967191.zip
qemu-79598c8a634c21de9ac7b5a04c03bf4f13967191.tar.gz
qemu-79598c8a634c21de9ac7b5a04c03bf4f13967191.tar.bz2
tests/qapi-schema: Cover feature documentation comments
Commit 8aa3a33e44 "tests/qapi-schema: Test for good feature lists in structs" neglected to cover documentation comments, and the previous commit followed its example. Make up for them. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20191018081454.21369-5-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qapi-schema/doc-good.texi')
-rw-r--r--tests/qapi-schema/doc-good.texi22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/qapi-schema/doc-good.texi b/tests/qapi-schema/doc-good.texi
index 2526abc..2ce8b88 100644
--- a/tests/qapi-schema/doc-good.texi
+++ b/tests/qapi-schema/doc-good.texi
@@ -122,6 +122,12 @@ Not documented
@*@b{If:} @code{defined(IFSTR)}
@end table
+@b{Features:}
+@table @asis
+@item @code{variant1-feat}
+a feature
+@end table
+
@end deftp
@@ -182,6 +188,14 @@ argument
Not documented
@end table
+@b{Features:}
+@table @asis
+@item @code{cmd-feat1}
+a feature
+@item @code{cmd-feat2}
+another feature
+@end table
+
@b{Note:}
@code{arg3} is undocumented
@@ -227,6 +241,14 @@ If you're bored enough to read this, go see a video of boxed cats
@b{Arguments:} the members of @code{Object}
+@b{Features:}
+@table @asis
+@item @code{cmd-feat1}
+a feature
+@item @code{cmd-feat2}
+another feature
+@end table
+
@b{Example:}
@example
-> in