tests/qapi-schema: Cover flat union types
The test demonstrates a generator bug: the generated struct UserDefFlatUnion doesn't include members for the indirect base UserDefZero. Signed-off-by:Markus Armbruster <armbru@redhat.com> Reviewed-by:
Eric Blake <eblake@redhat.com> Signed-off-by:
Luiz Capitulino <lcapitulino@redhat.com>
Showing
- tests/qapi-schema/qapi-schema-test.json 7 additions, 0 deletionstests/qapi-schema/qapi-schema-test.json
- tests/qapi-schema/qapi-schema-test.out 2 additions, 0 deletionstests/qapi-schema/qapi-schema-test.out
- tests/test-qmp-input-strict.c 33 additions, 0 deletionstests/test-qmp-input-strict.c
- tests/test-qmp-input-visitor.c 20 additions, 0 deletionstests/test-qmp-input-visitor.c
- tests/test-qmp-output-visitor.c 31 additions, 0 deletionstests/test-qmp-output-visitor.c
Please register or sign in to comment