weston/tests
Pekka Paalanen f38d4458f7 tests: remove static data from presentation
While get_presentation() will only ever be called once (making the caching of
the return value moot), it is good to stop using the static variable as it
would cause surprising problems if anyone adds more tests here and runs it
under the new test harness.

It was leaked before and continues to be so.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2019-11-21 16:24:01 +00:00
..
reference Optimize PNGs with zopflipng 2019-03-28 10:09:52 +00:00
bad-buffer-test.c shared: Use memfd_create() when available 2019-10-24 07:32:17 +00:00
config-parser-test.c Rename config-parser.h to libweston/config-parser.h 2019-04-18 12:31:46 +03:00
devices-test.c tests: Add test for seat destruction and creation 2018-02-15 13:14:57 +02:00
event-test.c tests: Move wl_pointer tests to their own file 2017-12-12 12:17:08 +02:00
input-timestamps-helper.c Rename zalloc.h to libweston/zalloc.h 2019-04-18 12:31:46 +03:00
input-timestamps-helper.h tests: Introduce input timestamps helper 2018-02-20 10:20:29 +02:00
internal-screenshot-test.c tests: Fix undefined left shift in internal-screenshot-test 2019-10-16 16:07:47 -04: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 Rename compositor.h to libweston/libweston.h 2019-04-18 12:31:46 +03:00
ivi-layout-test-client.c tests: remove static data from ivi-layout-test-client 2019-11-21 16:24:01 +00:00
ivi-layout-test-plugin.c tests: remove static data from ivi-layout-test-plugin 2019-11-21 16:24:01 +00:00
ivi-shell-app-test.c tests: remove static data from ivi-shell-app-test 2019-11-21 16:24:01 +00:00
ivi-test.h ivi-shell: implement surface_on_many_layer test 2016-06-29 11:32:23 +03:00
keyboard-test.c libweston: Implement keyboard timestamps for input_timestamps_unstable_v1 2018-02-20 15:09:53 +02:00
linux-explicit-synchronization-test.c libweston: Advertise minor version 2 of zwp_linux_explicit_synchronization_v1 2019-08-02 15:00:08 +00:00
matrix-test.c Rename matrix.h to libweston/matrix.h 2019-04-18 12:31:46 +03:00
meson.build tests: surface-screenshot needs libshared 2019-10-24 13:40:51 +03:00
plugin-registry-test.c Rename plugin-registry.h to libweston/plugin-registry.h 2019-04-18 12:31:46 +03:00
pointer-test.c libweston: Implement pointer timestamps for input_timestamps_unstable_v1 2018-02-20 15:09:53 +02:00
presentation-test.c tests: remove static data from presentation 2019-11-21 16:24:01 +00: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 tests: Add checks for pointer motion and button event timestamps 2017-12-18 11:27:43 +02:00
subsurface-test.c Fix 'implicit fallthrough' warning with new GCC 2017-03-13 17:56:07 +00:00
surface-global-test.c libweston: Migrate functions that operate on 'weston_view' 2019-07-18 06:43:38 +00:00
surface-screenshot-test.c Unify the include style of shared/ headers 2019-10-04 16:04:48 +03:00
surface-test.c Rename compositor.h to libweston/libweston.h 2019-04-18 12:31:46 +03:00
text-test.c include stdint.h for int32_t/uint32_t 2016-07-26 16:26:08 -07:00
timespec-test.c Unify the include style of shared/ headers 2019-10-04 16:04:48 +03:00
touch-test.c libweston: Implement touch timestamps for input_timestamps_unstable_v1 2018-02-20 15:09:53 +02:00
vertex-clip-test.c Rename src/ to libweston/ 2016-06-23 17:44:54 +03:00
viewporter-test.c tests: remove static data from viewporter 2019-11-21 16:24:01 +00:00
weston-test-client-helper.c Rename zalloc.h to libweston/zalloc.h 2019-04-18 12:31:46 +03:00
weston-test-client-helper.h tests: Introduce input timestamps helper 2018-02-20 10:20:29 +02:00
weston-test-desktop-shell.c Move libweston-desktop.h 2019-04-18 12:31:46 +03:00
weston-test-runner.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
weston-test-runner.h tests: Mark tests as used so they don’t get removed at link time 2017-12-01 16:53:53 +00:00
weston-test.c libweston: Add functions to modify disable_planes counter for an output 2019-08-26 16:18:22 +05:30
xwayland-test.c tests: Skip Xwayland test if binary isn't available 2016-11-30 10:28:04 +00:00