remove offending test

in reference to discussion on
https://phabricator.kde.org/D4718
This commit is contained in:
Marco Martin 2017-03-16 18:30:39 +01:00
parent 5be29cc42f
commit a25a06b6fa
2 changed files with 1 additions and 5 deletions

View file

@ -732,12 +732,8 @@ void TestScreenEdges::testClientEdge()
s->reserve(&client, KWin::ElectricBottom);
// let's set the client to be hidden
client.setHiddenInternal(true);
QPointer<Edge> edge = s->findChildren<Edge*>().last();
s->reserve(&client, KWin::ElectricBottom);
QCOMPARE(edge.data(), s->findChildren<Edge*>().last());
QCOMPARE(edge->isReserved(), true);
//remove old reserves and resize to be in the middle of the screen

View file

@ -453,7 +453,7 @@ void ModelTest::data()
// Check that the alignment is one we know about
QVariant textAlignmentVariant = model->data ( model->index ( 0, 0 ), Qt::TextAlignmentRole );
if ( textAlignmentVariant.isValid() ) {
int alignment = textAlignmentVariant.toInt();
unsigned int alignment = textAlignmentVariant.toInt();
QCOMPARE( alignment, ( alignment & ( Qt::AlignHorizontal_Mask | Qt::AlignVertical_Mask ) ) );
}