weston/tests
Derek Foreman 1281a36e3b input: Don't test keyboard/pointer/touch pointers
Keyboards and pointers aren't freed when devices are removed, so we should
really be testing keyboard_device_count and pointer_device_count in most
cases, not the actual pointers. Otherwise we end up with different
behaviour after removing a device than we had before it was inserted.

This commit renames the touch/keyboard/pointer pointers and adds helper
functions to get them that hide this complexity and return NULL when
*_device_count is 0.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
2015-07-31 15:16:09 -07:00
..
reference tests/internal-screenshot: Fix test so it doesn't expect shell surfaces 2015-05-26 11:26:06 +03:00
.gitignore Revert "gitignore: Ignore generated header test files" 2015-05-26 23:22:19 -07:00
bad-buffer-test.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
buffer-count-test.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
button-test.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
config-parser-test.c Converted the config parser test to the new framework. 2015-07-17 13:27:56 +03:00
devices-test.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
event-test.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
internal-screenshot-test.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
internal-screenshot.ini tests: Add internal test for the weston test screenshot capability 2015-05-21 15:06:11 -07:00
ivi-shell-app-test.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
ivi-test.h tests: test set for ivi-layer normal use case with helper client 2015-06-25 11:38:37 +03:00
ivi_layout-internal-test.c tests: test set for ivi-shell notification with bad condition in server side 2015-06-25 11:39:59 +03:00
ivi_layout-test-plugin.c tests: test set for ivi-shell notification in bad condition with helper client 2015-06-25 11:39:54 +03:00
ivi_layout-test.c tests: test set for ivi-shell notification in bad condition with helper client 2015-06-25 11:39:54 +03:00
keyboard-test.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
matrix-test.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
presentation-test.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
roles-test.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
setbacklight.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
subsurface-test.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
surface-global-test.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
surface-screenshot.c input: Don't test keyboard/pointer/touch pointers 2015-07-31 15:16:09 -07:00
surface-test.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
text-test.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
vertex-clip-test.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
weston-test-client-helper.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
weston-test-client-helper.h tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
weston-test-runner.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
weston-test-runner.h Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
weston-test.c input: Don't test keyboard/pointer/touch pointers 2015-07-31 15:16:09 -07:00
weston-tests-env tests: Set up the reference image environment variable 2015-05-22 16:23:23 -07:00
xwayland-test.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00