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>bb10
parent
413b40eaf7
commit
569d7a4d2e
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue