Chris Michael
aeb2b506fd
tests/ecore_wl2: Fix issue of tests running without a Wayland display
...
This fixes an issue with CI where these tests would try to run without
a Wayland compositor. This was missed during review, Thanks Marcel for
pointing this out.
ref T8016
2020-01-21 13:05:10 -05:00
Woochanlee
87be474bb5
tests/ecore_wl2: Code clean up and Add, Modify TCs.
...
Summary:
Code clean up.
Add flush, sync_is_done APIs.
Modify input_find.
ref T8016
Reviewers: devilhorns
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8016
Differential Revision: https://phab.enlightenment.org/D11111
2020-01-21 08:13:52 -05:00
Christopher Michael
d0845de6b3
tests/ecore_wl2: Simplify test infrastructure
...
This commit adds the _display_connect function to the tests_helpers
file so that we do not have to duplicate the function across files.
ref T8016
2020-01-09 10:46:54 -05:00
Christopher Michael
e5c64b13c1
tests/ecore_wl2: Fix ecore_wl2_display_input_find test
...
So apparently Enlightenment uses 'seat0' for input name and Weston
uses 'default'. Test for E_START env var and adjust function call so
that the test does not fail in either case.
2020-01-09 10:08:26 -05:00
Christopher Michael
60672bdc5a
tests/ecore_wl2: Add test for ecore_wl2_display_input_find_by_name
...
ref T8016
2020-01-08 11:02:11 -05:00
Christopher Michael
fb71805925
tests/ecore_wl2: Add test for ecore_wl2_display_compositor_version_get
...
ref T8016
2019-11-12 09:22:09 -05:00
Chris Michael
2d9fd1a827
tests/ecore_wl2: Fix resource leak
...
Small patch to fix resource leak pointed out by Coverity
Fixes Coverity CID1403883
2019-09-17 09:35:43 -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
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
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