summaryrefslogtreecommitdiffstats
path: root/qapi-schema-test.json
Commit message (Collapse)AuthorAgeFilesLines
* qapi: add struct-errors test case to test-qmp-output-visitorPaolo Bonzini2012-03-271-1/+1
| | | | | | | | | | This test case verifies that invalid native enums are caught, and causes qapi to tear down the QObject tree under construction, exercising the previous patch. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
* qapi: complete implementation of unionsPaolo Bonzini2012-03-121-0/+10
| | | | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Acked-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
* Introduce test-qmp-output-visitorLuiz Capitulino2011-12-061-0/+6
| | | | | | Contains unit-tests for the QMP output visitor implementation. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
* qapi: test schema used for unit testsMichael Roth2011-07-211-0/+22
This is how QMP commands/parameters/types would be defined. We use a subset of that functionality here to implement functions/types for unit testing. Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@gmail.com>
OpenPOWER on IntegriCloud