Commit Graph

33 Commits

Author SHA1 Message Date
Christopher Michael 27a1ec507a tests/ecore_wl2: Skip aux_hints_supported test if not run in Enlightenment
This test will fail when run in all situations (weston, command line,
etc) except when run under Enlightenment, so add a small env check so
that it can be skipped if we are not running E.

ref T8016
2019-08-28 07:59:13 -04:00
Christopher Michael 10c0e37a72 tests/ecore_wl2: Add ecore_wl2_surface tests to build order
ref T8016
2019-08-15 15:36:14 -04:00
Christopher Michael e533bef2bf tests/ecore_wl2: Add start of ecore_wl2_surface tests
ref T8016
2019-08-14 11:03:04 -04:00
Christopher Michael adaea4170a tests/ecore_wl2: Add test for ecore_wl2_input_name_get
ref T8016
2019-08-01 09:04:09 -04:00
Christopher Michael 2c4b26ef4e tests/ecore_wl2: Add test for ecore_wl2_input_keymap_get
ref T8016
2019-08-01 08:59:26 -04:00
Christopher Michael f15ca5e227 tests/ecore_wl2: Add test for ecore_wl2_input_display_get function
ref T8016
2019-08-01 08:56:42 -04:00
Christopher Michael f166cf3741 tests/ecore_wl2: Add test for ecore_wl2_input_seat_id_get function
ref T8016
2019-08-01 08:53:45 -04:00
Christopher Michael f481b6acf1 tests/ecore_wl2: Fix assert tests for some window functions
ref T8016
2019-08-01 08:53:21 -04:00
Christopher Michael 34514ccf58 tests/ecore_wl2: Add start of Ecore_Wl2_Input API tests
ref T8016
2019-08-01 08:41:07 -04:00
Christopher Michael 1b20f789dc Revert "tests/ecore_wl2: Reduce calls to ecore_wl2_display_connect"
Reverting this as it causes tests to stall (essentially 'meson test
ecore_wl2-suite' just hangs) when run inside a compositor.

This reverts commit a526285db4.
2019-07-22 10:05:27 -04:00
Christopher Michael a526285db4 tests/ecore_wl2: Reduce calls to ecore_wl2_display_connect
In order to reduce display setup time during test execution, we can
just connect once and run all the window tests after that.

ref T8016
2019-07-22 09:48:19 -04:00
Christopher Michael 725cce8cb4 tests/ecore_wl2: Combine tests of ecore_wl2_window_surface functions
ref T8016
2019-07-22 09:36:59 -04:00
Christopher Michael c1c4072b07 tests/ecore_wl2: Add wayland protocol as a dep for ecore_wl2 tests
ref T8016
2019-07-22 09:36:59 -04:00
Christopher Michael 28c232d770 tests/ecore_wl2: Add test for ecore_wl2_window_display_get
ref T8016
2019-07-22 09:02:10 -04:00
Christopher Michael a7cc7730af tests/ecore_wl2: Add test for ecore_wl2_window_aux_hints_supported_get
ref T8016
2019-07-22 09:00:17 -04:00
Christopher Michael 5cf095dd3d tests/ecore_wl2: Add test for ecore_wl2_window_output_find
ref T8016
2019-07-22 08:57:33 -04:00
Christopher Michael afe8414925 tests/ecore_wl2: Add test for ecore_wl2_window_rotation_get
ref T8016
2019-07-22 08:55:04 -04:00
Christopher Michael 8510de33c3 tests/ecore_wl2: Add test case for ecore_wl2_window_surface_id_get
ref T8016
2019-07-22 08:40:34 -04:00
Christopher Michael 11de06e5b8 tests/ecore_wl2: Add test for ecore_wl2_window_surface_get function
ref T8016
2019-07-22 08:37:39 -04:00
Christopher Michael ccfd74f17a tests/ecore_wl2: Remove use of macros for display setup & connect
ref T8016
2019-07-22 08:37:27 -04:00
Christopher Michael af0a37da03 tests/ecore_wl2: Check for valid xdg_runtime_dir
Seems these tests need XDG_RUNTIME_DIR to be set, and it does not get
set in Travis builds, so add a small check here so that Travis builds
don't fail ... thanks Marcel ;)

ref T8016
2019-07-15 14:21:36 -04:00
Christopher Michael f30ef634ad tests/ecore_wl2: Add start of Ecore_Wl2 Window tests
ref T8016
2019-07-15 12:56:30 -04:00
Christopher Michael 3be7c844fd tests/ecore_wl2: Add test for ecore_wl2_display_inputs_get
ref T8016
2019-07-15 12:32:50 -04:00
Christopher Michael 7a85ad660b tests/ecore_wl2: Add test for ecore_wl2_display_registry_get function
ref T8016
2019-07-15 11:01:49 -04:00
Christopher Michael a081920c7d tests/ecore_wl2: Add test for ecore_wl2_display_screen_size_get function
ref T8016
2019-07-15 11:01:43 -04:00
Christopher Michael 539775b1cd tests/ecore_wl2: Add test for ecore_wl2_display_globals_get function
ref T8016
2019-07-15 11:01:39 -04:00
Christopher Michael 9ef1ab7876 tests/ecore_wl2: Add printf for compositor detection
ref T8016
2019-07-15 11:01:34 -04:00
Christopher Michael 7618a6caf0 tests/ecore_wl2: Add ecore_wl2_display_dmabuf_get test
ref T8016
2019-07-15 11:01:30 -04:00
Christopher Michael 3a3a2f667a tests/ecore_wl2: Add ecore_wl2_display_shm_get test
ref T8016
2019-07-15 11:01:25 -04:00
Christopher Michael 723412404f tests/ecore_wl2: Add test cases for wl2 client-side functions
This patch separates the ecore_wl2 tests to support both server-side
and client-side functionality. In order to test client-side functions,
these tests MUST be run under an existing Wayland Compositor
(Enlightenment, Weston, etc).

ref T8016
2019-07-15 11:01:20 -04:00
Christopher Michael b9f89fabb6 tests: Add tests for ecore_wl2_display_get and
ecore_wl2_display_name_get

ref T8016
2019-07-15 10:08:32 -04:00
Christopher Michael 73acf72cc4 tests: Add file for Ecore_Wl2 display tests
Add file which can be used to add tests for ecore_wl2 display functions

ref T8016
2019-07-15 09:54:18 -04:00
Christopher Michael e33609937e tests: Add start of Ecore_Wl2 test suite
Small patch set to add the start of a Ecore_Wl2 test suite

ref T8016
2019-07-15 09:53:59 -04:00