Commit 378c0913 authored by Don Gagne's avatar Don Gagne

Give deleteLater's and Qml time to clean up

parent 502f51ab
......@@ -128,6 +128,9 @@ void UnitTest::cleanup(void)
{
_cleanupCalled = true;
// We add a slight delay here to allow for deleteLater and Qml cleanup
QTest::qWait(200);
// Keep in mind that any code below these QCOMPARE may be skipped if the compare fails
if (_expectMissedMessageBox) {
QEXPECT_FAIL("", "Expecting failure due internal testing", Continue);
......
Markdown is supported
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