diff options
| author | Eric Blake <eblake@redhat.com> | 2016-06-09 10:48:41 -0600 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2016-07-06 10:52:04 +0200 |
| commit | a8fff94d28bd2f0db37b2194cbfa197ba998b7f7 (patch) | |
| tree | 9737822bf70c3993d59e74dfc4f578b3e6f563bd /tests/test-qmp-output-visitor.c | |
| parent | 1830f22a6777cedaccd67a08f675d30f7a85ebfd (diff) | |
| download | focaccia-qemu-a8fff94d28bd2f0db37b2194cbfa197ba998b7f7.tar.gz focaccia-qemu-a8fff94d28bd2f0db37b2194cbfa197ba998b7f7.zip | |
tests: Clean up test-string-output-visitor
Use &error_abort and error_free_or_abort() in more places, use the generated qapi_free_intList() instead of open-coding it, reduce the scope of some variables, avoid code duplication during test setup with visitor_output_setup_internal(), and copy the visitor_reset() concept from the qmp-output test to the string-output test. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1465490926-28625-11-git-send-email-eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tests/test-qmp-output-visitor.c')
0 files changed, 0 insertions, 0 deletions