Commit 8e28a6c1 authored by Martin Flöser's avatar Martin Flöser
Browse files

[autotest] Extend test for PlasmaShellSurface on server side

Verifies that the shell is returned correctly and the static getter
for wl_resource works as expected.
parent ee5e92fe
......@@ -187,6 +187,9 @@ void TestPlasmaShell::testRole()
QCOMPARE(sps->surface(), surfaceCreatedSpy.first().first().value<SurfaceInterface*>());
QCOMPARE(sps->shell(), m_plasmaShellInterface);
QCOMPARE(PlasmaShellSurfaceInterface::get(sps->resource()), sps);
// default role should be normal
QCOMPARE(sps->role(), PlasmaShellSurfaceInterface::Role::Normal);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment