Diffusion KWin 18dd0327c2e7

[autotests] Untangle ShellClient::testMaximizedToFullscreen

Authored by davidedmundson on Jan 29 2019, 12:28 PM.

Description

[autotests] Untangle ShellClient::testMaximizedToFullscreen

Summary:
XdgShell and WlShell behave very differently when it comes to switching
from normal to maximised to fullscreen and back. Under XDGShell they are
2 properties, under WlShell it's a tristate enum.

This test was testing something very specific under WlShell and then
became a horrid mess of if statements doing different things and testing
different things, especially after XdgShell got proper configure
handling.

This patch splits it into two methods.

Test Plan:
Ran test
Passed

Reviewers: KWin, zzag

Reviewed By: KWin, zzag

Subscribers: zzag, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D18589

Details

Committed
davidedmundsonJan 29 2019, 12:31 PM
Reviewer
KWin
Differential Revision
D18589: [autotests] Untangle ShellClient::testMaximizedToFullscreen
Parents
R108:bd15c1185d0a: Trim whitespace
Branches
Unknown
Tags
Unknown