Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/plasma_surface_test.cpp
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Line(s) | 45 | private Q_SLOTS: | |||
---|---|---|---|---|---|
60 | void testOSDPlacementManualPosition(); | 60 | void testOSDPlacementManualPosition(); | ||
61 | void testPanelTypeHasStrut_data(); | 61 | void testPanelTypeHasStrut_data(); | ||
62 | void testPanelTypeHasStrut(); | 62 | void testPanelTypeHasStrut(); | ||
63 | void testPanelActivate_data(); | 63 | void testPanelActivate_data(); | ||
64 | void testPanelActivate(); | 64 | void testPanelActivate(); | ||
65 | 65 | | |||
66 | private: | 66 | private: | ||
67 | KWayland::Client::Compositor *m_compositor = nullptr; | 67 | KWayland::Client::Compositor *m_compositor = nullptr; | ||
68 | Shell *m_shell = nullptr; | | |||
69 | PlasmaShell *m_plasmaShell = nullptr; | 68 | PlasmaShell *m_plasmaShell = nullptr; | ||
70 | }; | 69 | }; | ||
71 | 70 | | |||
72 | void PlasmaSurfaceTest::initTestCase() | 71 | void PlasmaSurfaceTest::initTestCase() | ||
73 | { | 72 | { | ||
74 | qRegisterMetaType<KWin::XdgShellClient *>(); | 73 | qRegisterMetaType<KWin::XdgShellClient *>(); | ||
75 | QSignalSpy workspaceCreatedSpy(kwinApp(), &Application::workspaceCreated); | 74 | QSignalSpy workspaceCreatedSpy(kwinApp(), &Application::workspaceCreated); | ||
76 | QVERIFY(workspaceCreatedSpy.isValid()); | 75 | QVERIFY(workspaceCreatedSpy.isValid()); | ||
▲ Show 20 Lines • Show All 364 Lines • Show Last 20 Lines |