Commit graph

3 commits

Author SHA1 Message Date
hujianwei
c83e7243e1 Fix the tests
* tests/damage_test.c (handle_test_surface_committed)
(test_surface_listener):
* tests/dmabuf_test.c (handle_test_surface_committed)
(test_surface_listener):
* tests/scale_test.c (handle_test_surface_committed)
(test_surface_listener):
* tests/seat_test.c (handle_test_surface_committed)
(test_surface_listener):
* tests/simple_test.c (handle_test_surface_committed)
(test_surface_listener):
* tests/single_pixel_buffer_test.c (handle_test_surface_committed)
(test_surface_listener):
* tests/subsurface_test.c (handle_test_surface_committed)
(test_surface_listener):
* tests/transform_test.c (handle_test_surface_committed)
(test_surface_listener):
* tests/viewporter_test.c (handle_test_surface_committed)
(test_surface_listener):
* tests/xdg_activation_test.c (handle_test_surface_committed)
(test_surface_listener): Add new committed listeners.
2022-11-22 11:10:40 +00:00
hujianwei
45df6087d6 Update dmabuf and seat tests
* tests/dmabuf_test.c (enum test_kind): Add XBGR888_KIND.
(test_names): Add that test.
(LAST_TEST): Set to XBGR888_KIND.
(verify_single_step, test_single_step, test_next_step):
Implement that test, but keep it disabled for now.
* tests/seat_test.c (struct test_subsurface): New struct.
(enum test_kind): Add TEST_GRAB_KIND.
(test_names): Add that test kind.
(LAST_TEST): Set to TEST_GRAB_KIND.
(make_test_subsurface): New function.
(run_grab_test): New functions.
(test_single_step): Implement new test.
(expect_enter_event): Accept surface arg.
(expect_surface_enter): Adjust accordingly.
(handle_wl_callback_done, wait_frame_callback): New functions.
2022-11-09 02:12:28 +00:00
hujianwei
ec30b855b6 Check in new files for dma-buf tests
* tests/argb8888_implicit.dump:
* tests/argb8888_linear.dump:
* tests/dmabuf_test.c: New files.
2022-11-08 11:50:09 +00:00