qemu/tests/qapi-schema/enum-wrong-data.json
Eric Blake ad11dbb937 qapi: Add some enum tests
Demonstrate that the qapi generator doesn't deal well with enums
that aren't up to par. Later patches will update the expected
results as the generator is made stricter.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-05-05 18:39:00 +02:00

2 lines
119 B
JSON

# FIXME: we should require that all qapi enums have an array for data
{ 'enum': 'MyEnum', 'data': { 'value': 'str' } }