From f6401deb067457119278586fbb2a0c283382cfa4 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Thu, 24 Oct 2019 13:02:21 +0200 Subject: tests/qapi-schema: Cover alternate documentation comments Signed-off-by: Markus Armbruster Message-Id: <20191024110237.30963-4-armbru@redhat.com> --- tests/qapi-schema/doc-good.out | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests/qapi-schema/doc-good.out') diff --git a/tests/qapi-schema/doc-good.out b/tests/qapi-schema/doc-good.out index a8fc39d288..b0e99f2110 100644 --- a/tests/qapi-schema/doc-good.out +++ b/tests/qapi-schema/doc-good.out @@ -42,6 +42,10 @@ object SugaredUnion case one: q_obj_Variant1-wrapper case two: q_obj_Variant2-wrapper if ['IFTWO'] +alternate Alternate + tag type + case i: int + case b: bool object q_obj_cmd-arg member arg1: int optional=False member arg2: str optional=True @@ -133,6 +137,14 @@ doc symbol=SugaredUnion arg=type +doc symbol=Alternate + body= + + arg=i +an integer +@b is undocumented + arg=b + doc freeform body= == Another subsection -- cgit v1.2.3