tests: use test compositor in queue-test
authorMarek Chalupa <mchqwerty@gmail.com>
Thu, 21 Aug 2014 14:53:14 +0000 (16:53 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Fri, 22 Aug 2014 09:39:52 +0000 (12:39 +0300)
commit93e654061b9497c78b6f89a0b7f54107029e2628
treeaf8f508d95c669e85ae2152edf1de58e40cbab4a
parent85d08e8bd6d84694e2032f6fdb312f33036bfdda
tests: use test compositor in queue-test

Most of the code of the queue-test is covered by the test compositor,
so we can save few lines and use the test compositor instead.
I think it's also more readable.

This patch removes timeout from the test. We plan to add timeout
to all tests later, though.

v2.
  rebased to master

Signed-off-by: Marek Chalupa <mchqwerty@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
tests/queue-test.c