Run tst_qwindow::positioningDuringMinimized on OSX
The test passes. Change-Id: Ic1a0aa4b861eb6fe18fed3d5b5cd4481b9f5fbad Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
This commit is contained in:
parent
b138645cc6
commit
899153b6f9
@ -357,7 +357,8 @@ void tst_QWindow::positioning()
|
|||||||
void tst_QWindow::positioningDuringMinimized()
|
void tst_QWindow::positioningDuringMinimized()
|
||||||
{
|
{
|
||||||
// QTBUG-39544, setting a geometry in minimized state should work as well.
|
// QTBUG-39544, setting a geometry in minimized state should work as well.
|
||||||
if (QGuiApplication::platformName().compare("windows", Qt::CaseInsensitive))
|
if (QGuiApplication::platformName().compare("windows", Qt::CaseInsensitive) != 0
|
||||||
|
&& QGuiApplication::platformName().compare("cocoa", Qt::CaseInsensitive) != 0)
|
||||||
QSKIP("Not supported on this platform");
|
QSKIP("Not supported on this platform");
|
||||||
Window window;
|
Window window;
|
||||||
window.setTitle(QStringLiteral("positioningDuringMinimized"));
|
window.setTitle(QStringLiteral("positioningDuringMinimized"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user