summaryrefslogtreecommitdiffstats
path: root/tests/test-qmp-event.c
Commit message (Collapse)AuthorAgeFilesLines
* tests/test-qmp-event: fix for GLib < 2.31Paolo Bonzini2014-06-301-0/+6
| | | | | | | | On old GLib, the test needs a g_thread_init call. Reported-by: Wenchao Xia <wenchaoqemu@gmail.com> Tested-by: Wenchao Xia <wenchaoqemu@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* test: add test cases for qapi eventWenchao Xia2014-06-231-0/+265
These cases will verify whether the expected qdict is built. Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
OpenPOWER on IntegriCloud