Switch all auto tests to QTEST_GUILESS_MAIN
We don't need a QGuiApplication in the tests.
This commit is contained in:
parent
f72e4a4d6f
commit
eb9e5a178f
10 changed files with 10 additions and 10 deletions
|
@ -230,5 +230,5 @@ void TestShmPool::testDestroy()
|
|||
m_shmPool->destroy();
|
||||
}
|
||||
|
||||
QTEST_MAIN(TestShmPool)
|
||||
QTEST_GUILESS_MAIN(TestShmPool)
|
||||
#include "test_shm_pool.moc"
|
||||
|
|
|
@ -190,5 +190,5 @@ void TestWaylandConnectionThread::testConnectionDieing()
|
|||
QCOMPARE(connectedSpy.count(), 1);
|
||||
}
|
||||
|
||||
QTEST_MAIN(TestWaylandConnectionThread)
|
||||
QTEST_GUILESS_MAIN(TestWaylandConnectionThread)
|
||||
#include "test_wayland_connection_thread.moc"
|
||||
|
|
|
@ -142,5 +142,5 @@ void TestWaylandFullscreenShell::testRegistryCreate()
|
|||
QVERIFY(fullscreenShell->isValid());
|
||||
}
|
||||
|
||||
QTEST_MAIN(TestWaylandFullscreenShell)
|
||||
QTEST_GUILESS_MAIN(TestWaylandFullscreenShell)
|
||||
#include "test_wayland_fullscreen_shell.moc"
|
||||
|
|
|
@ -321,5 +321,5 @@ void TestWaylandOutput::testTransform()
|
|||
QCOMPARE(output->transform(), Output::Transform::Normal);
|
||||
}
|
||||
|
||||
QTEST_MAIN(TestWaylandOutput)
|
||||
QTEST_GUILESS_MAIN(TestWaylandOutput)
|
||||
#include "test_wayland_output.moc"
|
||||
|
|
|
@ -274,5 +274,5 @@ void TestWaylandRegistry::testDestroy()
|
|||
registry.destroy();
|
||||
}
|
||||
|
||||
QTEST_MAIN(TestWaylandRegistry)
|
||||
QTEST_GUILESS_MAIN(TestWaylandRegistry)
|
||||
#include "test_wayland_registry.moc"
|
||||
|
|
|
@ -565,5 +565,5 @@ void TestWaylandSeat::testDestroy()
|
|||
p->destroy();
|
||||
}
|
||||
|
||||
QTEST_MAIN(TestWaylandSeat)
|
||||
QTEST_GUILESS_MAIN(TestWaylandSeat)
|
||||
#include "test_wayland_seat.moc"
|
||||
|
|
|
@ -354,5 +354,5 @@ void TestWaylandShell::testCast()
|
|||
QCOMPARE((wl_shell*)s2, wlShell);
|
||||
}
|
||||
|
||||
QTEST_MAIN(TestWaylandShell)
|
||||
QTEST_GUILESS_MAIN(TestWaylandShell)
|
||||
#include "test_wayland_shell.moc"
|
||||
|
|
|
@ -367,5 +367,5 @@ void TestWaylandSurface::testDestroy()
|
|||
s->destroy();
|
||||
}
|
||||
|
||||
QTEST_MAIN(TestWaylandSurface)
|
||||
QTEST_GUILESS_MAIN(TestWaylandSurface)
|
||||
#include "test_wayland_surface.moc"
|
||||
|
|
|
@ -101,5 +101,5 @@ void TestWaylandServerDisplay::testAddRemoveOutput()
|
|||
QVERIFY(display.outputs().isEmpty());
|
||||
}
|
||||
|
||||
QTEST_MAIN(TestWaylandServerDisplay)
|
||||
QTEST_GUILESS_MAIN(TestWaylandServerDisplay)
|
||||
#include "test_display.moc"
|
||||
|
|
|
@ -170,5 +170,5 @@ void TestWaylandServerSeat::testDestroyThroughTerminate()
|
|||
QVERIFY(!destroyedSpy.isEmpty());
|
||||
}
|
||||
|
||||
QTEST_MAIN(TestWaylandServerSeat)
|
||||
QTEST_GUILESS_MAIN(TestWaylandServerSeat)
|
||||
#include "test_seat.moc"
|
||||
|
|
Loading…
Reference in a new issue