1
0
Fork 0
mutter-performance-source/src
Jonas Ådahl e9cd2b60a6 tests: Make tests components have ownership chains as well
This means we can eliminate the use of scattered singletons that isn't
added by the tests or the test framework itself.

tests: Don't get backend from old singleton getter

Either use the ownership chain, or the explicit test context instance
pointer.

tests/wayland: Pass context to test client constructor

So that we can get the Wayland compositor directly from the context.

tests: Don't get display from singleton

tests/client: Make test client carry a context pointer

tests/runner: Have test cases carry a context pointer

tests/wayland/test-driver: Get backend from context

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2718>
2022-12-17 15:13:48 +01:00
..
backends tests: Make tests components have ownership chains as well 2022-12-17 15:13:48 +01:00
compositor compositor: Setup and use ownership chains 2022-12-17 15:13:48 +01:00
core startup-notification/x11: Let the libsn user handle API annoyances 2022-12-17 15:13:48 +01:00
frames frames: Handle lack of WM_DELETE_WINDOW in WM_PROTOCOLS 2022-12-10 09:38:23 +00:00
meta compositor: Add API to get feedback group 2022-12-17 15:13:48 +01:00
tests tests: Make tests components have ownership chains as well 2022-12-17 15:13:48 +01:00
wayland compositor: Setup and use ownership chains 2022-12-17 15:13:48 +01:00
x11 x11/session: Make state tracking context aware 2022-12-17 15:13:48 +01:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build x11: Remove MetaX11WindowControl 2022-12-01 20:10:53 +00:00
meta-private-enum-types.c.in build: Add missing include 2022-08-10 20:28:40 +02:00
meta-private-enum-types.h.in screen-cast: Add screen cast flag to streams 2020-07-30 09:51:16 +02:00