Remove QEXPECT_FAIL from passing test

The test is blacklisted in dev and 6.1, let it fail properly. We can
watch the history of the test and remove the blacklisting if/when it
passes consistently on supported macOS versions.

Task-number: QTBUG-20984
Change-Id: I3211ecf565995578c83a092c637890c0e8bfd766
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
(cherry picked from commit 83d4ca3f66aa269ff47ff77e718fcbea594f2179)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Volker Hilsheimer 2021-03-30 13:32:06 +02:00 committed by Qt Cherry-pick Bot
parent 88886f1932
commit 4e94e29aec

View File

@ -94,7 +94,6 @@ void tst_MacGui::scrollbarPainting()
QPixmap pixmap = grabWindowContents(&colorWidget); QPixmap pixmap = grabWindowContents(&colorWidget);
QEXPECT_FAIL("", "QTBUG-26371", Abort);
QVERIFY(isContent(pixmap.toImage(), verticalScrollbar.geometry(), GuiTester::Horizontal)); QVERIFY(isContent(pixmap.toImage(), verticalScrollbar.geometry(), GuiTester::Horizontal));
QVERIFY(isContent(pixmap.toImage(), horizontalScrollbar.geometry(), GuiTester::Vertical)); QVERIFY(isContent(pixmap.toImage(), horizontalScrollbar.geometry(), GuiTester::Vertical));
} }