]> git.proxmox.com Git - mirror_qemu.git/commit - tests/test-qobject-input-visitor.c
test-qobject-input-visitor: Use strict visitor
authorMarkus Armbruster <armbru@redhat.com>
Fri, 3 Mar 2017 12:32:38 +0000 (13:32 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Sun, 5 Mar 2017 08:14:19 +0000 (09:14 +0100)
commitec95f6148ce0d48f098979ed2168708820abd9dd
treeb476e5ec56c8c169306478185bc2e61be4f6c2a8
parent05601ed2de60df0e344d6b783a6bc0c1ff2b5d1f
test-qobject-input-visitor: Use strict visitor

The qobject input visitor comes in a strict and a non-strict variant.
This test is the non-strict variant's last user.  Turns out it relies
on non-strict only in test_visitor_in_null(), and just out of
laziness.  We don't actually test the non-strict behavior.

Clean up test_visitor_in_null(), and switch to the strict variant.
The next commit will drop the non-strict variant.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1488544368-30622-19-git-send-email-armbru@redhat.com>
tests/test-qobject-input-visitor.c