summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDaniel P. Berrange2016-09-30 16:45:29 +0200
committerMarkus Armbruster2016-10-25 16:25:54 +0200
commitb1d2e5f1b0612178cdc2752fb0f60407dd87960e (patch)
tree3cbb9d57d8d2f1a38aa201098c03b5dcdb07524e /scripts
parentqapi: rename QmpOutputVisitor to QObjectOutputVisitor (diff)
downloadqemu-b1d2e5f1b0612178cdc2752fb0f60407dd87960e.tar.gz
qemu-b1d2e5f1b0612178cdc2752fb0f60407dd87960e.tar.xz
qemu-b1d2e5f1b0612178cdc2752fb0f60407dd87960e.zip
qapi: don't pass two copies of TestInputVisitorData to tests
The input_visitor_test_add() method was accepting an instance of 'TestInputVisitorData' and passing it as the 'user_data' parameter to test functions. The main 'TestInputVisitorData' instance that was actually used, was meanwhile being allocated automatically by the test framework fixture setup. The 'user_data' parameter is going to be needed for tests added in later patches, so getting rid of the current mistaken usage now allows this. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Message-Id: <1475246744-29302-7-git-send-email-berrange@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions