Add test condition in test_display.cpp

This commit is contained in:
Martin Gräßlin 2014-11-17 16:21:54 +01:00
parent 8f11a2b0e5
commit 4a7af2c665

View file

@ -132,6 +132,7 @@ void TestWaylandServerDisplay::testClientConnection()
QVERIFY(connection->userId() != 0);
QVERIFY(connection->groupId() != 0);
QVERIFY(connection->processId() != 0);
QCOMPARE(connection->display(), &display);
QCOMPARE((wl_client*)*connection, client);
const ClientConnection &constRef = *connection;
QCOMPARE((wl_client*)constRef, client);