Markus Armbruster cd17ba51f5 tests: Don't check qobject_type() before qobject_to_qlist()
qobject_to_qlist(obj) returns NULL when obj isn't a QList.  Check
that instead of qobject_type(obj) == QTYPE_QLIST.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1487363905-9480-9-git-send-email-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2017-02-22 19:52:04 +01:00
..
2016-07-25 13:23:18 -05:00
2017-01-31 10:10:13 +11:00
2017-01-16 10:10:35 +01:00
2016-10-26 08:29:01 -07:00
2016-11-03 14:41:53 +00:00
2016-11-14 11:15:54 -05:00
2016-09-08 18:05:22 +04:00
2016-09-08 18:05:21 +04:00
2017-01-10 08:49:59 -08:00
2016-09-08 17:57:32 +04:00
2016-09-08 17:57:32 +04:00
2016-11-15 15:41:00 +00:00
2016-11-11 20:53:23 +08:00
2017-01-31 23:31:22 +04:00