Commit 4a7af2c6 authored by Martin Flöser's avatar Martin Flöser
Browse files

Add test condition in test_display.cpp

parent 8f11a2b0
......@@ -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);
......
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