Re-enabled passing tests in tst_qmenu
To increase the effective test coverage, this patch re-enables the tst_qmenu test case as such, and instead disables only the test functions that are currently failing in CI. Task-number: QTBUG-22453 Change-Id: I62cc1a2a9b0206595808deafb5fc137888ec97b3 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
This commit is contained in:
parent
eb7192a96d
commit
e0dfa4547e
@ -2,5 +2,3 @@ CONFIG += testcase
|
||||
TARGET = tst_qmenu
|
||||
QT += widgets testlib
|
||||
SOURCES += tst_qmenu.cpp
|
||||
|
||||
contains(QT_CONFIG,xcb):CONFIG+=insignificant_test # QTBUG-21100, unstably fails
|
||||
|
@ -564,6 +564,7 @@ void tst_QMenu::tearOff()
|
||||
QTest::mouseClick(menu, Qt::LeftButton, 0, QPoint(3, 3), 10);
|
||||
QTest::qWait(100);
|
||||
|
||||
QEXPECT_FAIL("", "QTBUG-22565", Abort);
|
||||
QVERIFY(menu->isTearOffMenuVisible());
|
||||
QPointer<QMenu> torn = 0;
|
||||
foreach (QWidget *w, QApplication::allWidgets()) {
|
||||
@ -638,6 +639,7 @@ void tst_QMenu::activeSubMenuPosition()
|
||||
// to check that submenu is to the right of the main menu too.
|
||||
#ifndef Q_OS_WINCE_WM
|
||||
QVERIFY(sub->pos().x() > main->pos().x());
|
||||
QEXPECT_FAIL("", "QTBUG-22565", Abort);
|
||||
QCOMPARE(sub->activeAction(), subAction);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user