summary refs log tree commit diff stats
path: root/include/qapi/string-output-visitor.h
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2016-06-09 10:48:41 -0600
committerMarkus Armbruster <armbru@redhat.com>2016-07-06 10:52:04 +0200
commita8fff94d28bd2f0db37b2194cbfa197ba998b7f7 (patch)
tree9737822bf70c3993d59e74dfc4f578b3e6f563bd /include/qapi/string-output-visitor.h
parent1830f22a6777cedaccd67a08f675d30f7a85ebfd (diff)
downloadfocaccia-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 'include/qapi/string-output-visitor.h')
0 files changed, 0 insertions, 0 deletions