summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-10-07 11:48:47 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-07 06:39:42 +0200
commit569d7a4d2e6abd3a578d47b224945c029faf37d0 (patch)
tree2f07b3224d3b88065509ab2822941c5f714228b5
parent413b40eaf7911bc28671afa5997ceca58af36b29 (diff)
Improve QMenu test coverage for Mac and WinCE.
Add a couple of previously excluded lines of code that should work for all platforms. Change-Id: I5f0b5365060a91cb708a3143b28f7de703fc419e Reviewed-on: http://codereview.qt-project.org/6196 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
-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 26d172ab81..d3eb5f260a 100644
--- a/tests/auto/qmenu/tst_qmenu.cpp
+++ b/tests/auto/qmenu/tst_qmenu.cpp
@@ -439,13 +439,13 @@ void tst_QMenu::overrideMenuAction()
//test if the menu still pops out
QTest::keyClick(&w, Qt::Key_F, Qt::AltModifier);
QTRY_VERIFY(m->isVisible());
+#endif
delete aFileMenu;
//after the deletion of the override menu action,
//the menu should have its default menu action back
QCOMPARE(m->menuAction(), menuaction);
-#endif
}
void tst_QMenu::statusTip()