summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qapplication/tst_qapplication.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qapplication/tst_qapplication.cpp b/tests/auto/qapplication/tst_qapplication.cpp
index 6ffefc5..2ba5239 100644
--- a/tests/auto/qapplication/tst_qapplication.cpp
+++ b/tests/auto/qapplication/tst_qapplication.cpp
@@ -1148,15 +1148,15 @@ void DeleteLaterWidget::runTest()
connect(w, SIGNAL(destroyed()), this, SLOT(childDeleted()));
w->deleteLater();
- Q_ASSERT(!child_deleted);
+ QVERIFY(!child_deleted);
QDialog dlg;
QTimer::singleShot(500, &dlg, SLOT(reject()));
dlg.exec();
- Q_ASSERT(!child_deleted);
+ QVERIFY(!child_deleted);
app->processEvents();
- Q_ASSERT(!child_deleted);
+ QVERIFY(!child_deleted);
QTimer::singleShot(500, this, SLOT(checkDeleteLater()));
@@ -1167,7 +1167,7 @@ void DeleteLaterWidget::runTest()
void DeleteLaterWidget::checkDeleteLater()
{
- Q_ASSERT(child_deleted);
+ QVERIFY(child_deleted);
close();
}