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
6a0506a169 Add test for buffer transforms
* tests/Imakefile (OBJS3, SRCS3): New program.
(PROGRAMS): Add transform_test.
* tests/README: Document what these tests are.
* tests/damage_test.c (test_names): Fix coding style.
* tests/run_tests.sh (standard_tests): Add `standard_tests'.
* tests/svnignore.txt: Add transform_test.
* tests/test_harness.c (load_image_data): Fix stride validation
when height > width.
* tests/test_harness.h (FALLTHROUGH): New macro.
2022-11-04 07:22:57 +00:00
hujianwei
ad7443ebd3 Check in new test related files
* tests/basic_damage.png:
* tests/damage_test.c:
* tests/damage_test_1.dump:
* tests/damage_test_2.dump:
* tests/run_tests.sh: New files.
2022-11-04 05:26:16 +00:00