tests-qobject-input-strict: Merge into test-qobject-input-visitor
commit77c47de23ff58ff987fed92713546d99720bd099
authorMarkus Armbruster <armbru@redhat.com>
Fri, 3 Mar 2017 12:32:40 +0000 (3 13:32 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Sun, 5 Mar 2017 08:14:19 +0000 (5 09:14 +0100)
treedcde13437c0af3290734b67eaf75b0c13de7d13c
parent048abb7b20c9f822ad9d4b730bade73b3311a47a
tests-qobject-input-strict: Merge into test-qobject-input-visitor

Much of test-qobject-input-strict.c duplicates
test-qobject-input-strict.c, but with less assertions on expected
output:

* test_validate_struct() duplicates test_visitor_in_struct()

* test_validate_struct_nested() duplicates
  test_visitor_in_struct_nested()

* test_validate_list() duplicates the first half of
  test_visitor_in_list()

* test_validate_union_native_list() duplicates
  test_visitor_in_native_list_int()

* test_validate_union_flat() duplicates test_visitor_in_union_flat()

* test_validate_alternate() duplicates the first part of
  test_visitor_in_alternate()

Merge the remaining test cases into test-qobject-input-visitor.c, and
drop the now redundant test-qobject-input-strict.c.

Test case "/visitor/input-strict/fail/list" isn't really about lists,
it's about a bad struct nested in a list.  Rename accordingly.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1488544368-30622-21-git-send-email-armbru@redhat.com>
tests/Makefile.include
tests/test-qobject-input-strict.c [deleted file]
tests/test-qobject-input-visitor.c