weston/tests
Derek Foreman 8ae2db5b0c input: Pass the appropriate pointer type to bindings instead of a seat
Normally we need to check if a seat's [device_type]_count is > 0 before
we can use the associated pointer.  However, in a binding you're
guaranteed that the seat has a device of that type.  If we pass in
that type instead of the seat, it's obvious we don't have to test it.

The bindings can still get the seat pointer via whatever->seat if they
need it.

This is preparation for a follow up patch that prevents direct access
to seat->device_type pointers, and this will save us a few tests at
that point.

Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
2015-07-16 19:03:43 -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 tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07: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: Pass the appropriate pointer type to bindings instead of a seat 2015-07-16 19:03:43 -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 Unified multiple definitions of container_of() macro. 2015-06-15 17:11:58 -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