weston/tests
Pekka Paalanen 9ffb25009c libweston: introduce weston_output_from_resource()
This is a simple wrapper for casting the user data of a wl_resource into
a struct weston_output pointer. Using the wrapper clearly marks all the
places where a wl_output protocol object is used.

Replace ALL wl_output related calls to wl_resource_get_user_data() with
a call to weston_output_from_resource().

v2: add type assert in weston_output_from_resource().

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Armin Krezović <krezovic.armin@gmail.com>
2017-07-25 16:08:48 +03:00
..
reference tests: add subsurface-shot test 2017-02-07 14:25:27 +02: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
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 Re-apply "config-parser: Catch negative numbers assigned to unsigned config values" 2016-07-26 16:21:20 -07:00
devices-test.c devices-test: Fix typo 'destroyes' in a comment 2015-10-20 08:35:43 -07:00
event-test.c tests: event-test to use create_shm_buffer_a8r8g8b8() 2016-06-29 12:39:30 +03:00
internal-screenshot-test.c include stdint.h for int32_t/uint32_t 2016-07-26 16:26:08 -07:00
internal-screenshot.ini tests: Add internal test for the weston test screenshot capability 2015-05-21 15:06:11 -07:00
ivi_layout-internal-test.c ivi-shell: remove layer_set_orientation API 2017-07-24 13:33:00 +03:00
ivi_layout-test-plugin.c ivi-shell: remove surface_set_orientation API 2017-07-24 13:32:48 +03:00
ivi_layout-test.c ivi-shell: remove surface_set_orientation API 2017-07-24 13:32:48 +03: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 ivi-shell: implement surface_on_many_layer test 2016-06-29 11:32:23 +03:00
keyboard-test.c include stdint.h for int32_t/uint32_t 2016-07-26 16:26:08 -07:00
matrix-test.c Remove redundant #include path component. 2015-06-15 17:11:09 -07:00
plugin-registry-test.c weston: Properly namespace modules entrypoint 2017-01-17 18:24:56 +01:00
presentation-test.c include stdint.h for int32_t/uint32_t 2016-07-26 16:26:08 -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
string-test.c tests: add missing include 2017-01-23 14:12:06 +02:00
subsurface-shot-test.c compositor: damage pending subsurfaces when committing them 2017-02-07 14:25:27 +02:00
subsurface-test.c Fix 'implicit fallthrough' warning with new GCC 2017-03-13 17:56:07 +00:00
surface-global-test.c weston: Properly namespace modules entrypoint 2017-01-17 18:24:56 +01:00
surface-screenshot.c weston: Properly namespace modules entrypoint 2017-01-17 18:24:56 +01:00
surface-test.c weston: Properly namespace modules entrypoint 2017-01-17 18:24:56 +01:00
text-test.c include stdint.h for int32_t/uint32_t 2016-07-26 16:26:08 -07:00
timespec-test.c timespec: Add timespec subtraction helpers 2017-03-13 14:20:06 +02:00
vertex-clip-test.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
viewporter-test.c tests: introduce struct buffer for client-helper 2016-06-29 12:39:30 +03:00
weston-test-client-helper.c tests: put screenshots to ./logs by default 2017-02-07 14:25:27 +02:00
weston-test-client-helper.h tests: Remove buffer-count 2017-01-30 18:56:50 +00:00
weston-test-desktop-shell.c tests/shell: change background color 2017-02-07 13:26:26 +02:00
weston-test-runner.c tests: doc iterating in the runner 2017-02-07 14:25:27 +02:00
weston-test-runner.h tests: implement get_test_name() 2017-02-07 14:25:12 +02:00
weston-test.c libweston: introduce weston_output_from_resource() 2017-07-25 16:08:48 +03:00
weston-tests-env weston: Add a specific option to load XWayland 2017-01-17 18:25:01 +01:00
xwayland-test.c tests: Skip Xwayland test if binary isn't available 2016-11-30 10:28:04 +00:00