summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-05-03 01:35:25 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2011-05-04 03:24:07 (GMT)
commit291f04a4a7be4a975c6b8eaeeed4e0c196e23128 (patch)
tree4f20d93b2391e5f1f3f3db4f5df3748e73f1abe1 /tests
parent51b1d8dc20a2557d2002550b03e5b9f37f425fb4 (diff)
downloadQt-291f04a4a7be4a975c6b8eaeeed4e0c196e23128.zip
Qt-291f04a4a7be4a975c6b8eaeeed4e0c196e23128.tar.gz
Qt-291f04a4a7be4a975c6b8eaeeed4e0c196e23128.tar.bz2
Change Q_ASSERT to QVERIFY in QMenu test.
Change-Id: Ifc08d4eabd8565cfd242ec2e70cf597e92f28fe3 Task-number: QTBUG-17582 Reviewed-by: Rohan McGovern
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qmenu/tst_qmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qmenu/tst_qmenu.cpp b/tests/auto/qmenu/tst_qmenu.cpp
index 1367e1f..c31361d 100644
--- a/tests/auto/qmenu/tst_qmenu.cpp
+++ b/tests/auto/qmenu/tst_qmenu.cpp
@@ -789,7 +789,7 @@ void tst_QMenu::task250673_activeMultiColumnSubMenuPosition()
while (main.columnCount() < 2) {
main.addAction(QString("Item %1").arg(i));
++i;
- Q_ASSERT(i<1000);
+ QVERIFY(i<1000);
}
main.setActiveAction(menuAction);
sub.setActiveAction(subAction);