Fix unit test
Last commit removed a setGeometry call that I thought was only used to clear an edge (which we don't want) but was in fact crucial to the next test. REVIEW: 125635
This commit is contained in:
parent
66e27b69bb
commit
0e1e85d81c
1 changed files with 4 additions and 0 deletions
|
@ -758,6 +758,10 @@ void TestScreenEdges::testClientEdge()
|
|||
QCOMPARE(edge.data(), s->findChildren<Edge*>().last());
|
||||
QCOMPARE(edge->isReserved(), true);
|
||||
|
||||
//remove old reserves and resize to be in the middle of the screen
|
||||
s->reserve(&client, KWin::ElectricNone);
|
||||
client.setGeometry(QRect(2, 2, 20, 20));
|
||||
|
||||
// for none of the edges it should be able to be set
|
||||
for (int i = 0; i < ELECTRIC_COUNT; ++i) {
|
||||
client.setHiddenInternal(true);
|
||||
|
|
Loading…
Reference in a new issue