mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
tests: split queue-test testcases
All the test-cases are in one test atm. It doesn't matter for the outcome, but when it is split to more tests, the debugging and reading the output is simpler. Signed-off-by: Marek Chalupa <mchqwerty@gmail.com> Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
c3653f7f61
commit
fdb519be08
1 changed files with 19 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ dummy_bind(struct wl_client *client,
|
|||
{
|
||||
}
|
||||
|
||||
TEST(queue)
|
||||
TEST(queue_proxy_destroy)
|
||||
{
|
||||
struct display *d;
|
||||
const struct wl_interface *dummy_interfaces[] = {
|
||||
|
|
@ -230,9 +230,27 @@ TEST(queue)
|
|||
client_create(d, client_test_proxy_destroy);
|
||||
display_run(d);
|
||||
|
||||
display_destroy(d);
|
||||
}
|
||||
|
||||
TEST(queue_multiple_queues)
|
||||
{
|
||||
struct display *d = display_create();
|
||||
|
||||
test_set_timeout(2);
|
||||
|
||||
client_create(d, client_test_multiple_queues);
|
||||
display_run(d);
|
||||
|
||||
display_destroy(d);
|
||||
}
|
||||
|
||||
TEST(queue_roundtrip)
|
||||
{
|
||||
struct display *d = display_create();
|
||||
|
||||
test_set_timeout(2);
|
||||
|
||||
client_create(d, client_test_queue_roundtrip);
|
||||
display_run(d);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue