diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-09-14 17:34:52 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-09-24 14:07:23 +0200 |
commit | ef91ab0d5fe1a263e9e3cc1d14ea702a0a9f2261 (patch) | |
tree | 4ead6eb3f797a8cb6ed1a642df7c5aa716b705d4 /tests/qapi-schema/union-branch-if-invalid.out | |
parent | 31248b985e30801c2676ff448291c2b3d02a1b8c (diff) |
tests/qapi-schema: Demonstrate insufficient 'if' checking
Cover invalid 'if' in struct members, features, union and alternate
branches. Four out of four are broken. Mark FIXME.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190914153506.2151-6-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[Comment typo fixed]
Diffstat (limited to 'tests/qapi-schema/union-branch-if-invalid.out')
-rw-r--r-- | tests/qapi-schema/union-branch-if-invalid.out | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/qapi-schema/union-branch-if-invalid.out b/tests/qapi-schema/union-branch-if-invalid.out new file mode 100644 index 0000000000..2ed43218af --- /dev/null +++ b/tests/qapi-schema/union-branch-if-invalid.out @@ -0,0 +1,23 @@ +module None +object q_empty +enum QType + prefix QTYPE + member none + member qnull + member qnum + member qstring + member qdict + member qlist + member qbool +module union-branch-if-invalid.json +enum Branches + member branch1 +object Stru + member member: str optional=False +object q_obj_Uni-base + member tag: Branches optional=False +object Uni + base q_obj_Uni-base + tag tag + case branch1: Stru + if [''] |