summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/doc-bad-union-member.out
Commit message (Collapse)AuthorAgeFilesLines
* qapi: Fix detection of bogus member documentationMarkus Armbruster2017-03-161-11/+0Star
| | | | | | | | | | | | | check_definition_doc() checks for member documentation without a matching member. It laboriously second-guesses what members QAPISchema._def_exprs() will create. That's a stupid game. Move the check into QAPISchema.check(), where the members are known. Delegate the actual checking to new QAPIDoc.check(). Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1489582656-31133-38-git-send-email-armbru@redhat.com>
* tests/qapi-schema: Improve coverage of bogus member docsMarkus Armbruster2017-03-161-0/+11
New test doc-bad-union-member.json shows we can fail to reject documentation for nonexistent members. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1489582656-31133-37-git-send-email-armbru@redhat.com>