tests: Test caps using query
authorOlivier Crête <olivier.crete@collabora.com>
Wed, 6 Jul 2016 21:28:11 +0000 (17:28 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Sat, 20 May 2017 14:21:16 +0000 (16:21 +0200)
commitc0849df4aca6b51cc8c79f502bfcdb2171a377f2
tree55048ef5e3e8feceeafd0f31da804c618c9b4ee0
parent4d408ea9205aedea1b51f571b89ee0cca339315a
tests: Test caps using query

Sending an event can accepted event if the caps were rejected
because the event could be queued and processed later.

Also send a drain query in the caps test to make sure that the
event has been processed.

https://bugzilla.gnome.org/show_bug.cgi?id=781673
tests/check/elements/compositor.c