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)
commitcbafb022aad17976d4da44cee13a4872872c8441
tree199ea5d2f80a74977a3dfd7c6c34ca880e30433d
parentc483cbf9046fc5b3911403146e550e3394eaa52c
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