summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/widgets/widgets/qprogressbar/tst_qprogressbar.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/widgets/widgets/qprogressbar/tst_qprogressbar.cpp b/tests/auto/widgets/widgets/qprogressbar/tst_qprogressbar.cpp
index 7024da9dd4..9ec249cae0 100644
--- a/tests/auto/widgets/widgets/qprogressbar/tst_qprogressbar.cpp
+++ b/tests/auto/widgets/widgets/qprogressbar/tst_qprogressbar.cpp
@@ -58,7 +58,9 @@ private slots:
void text();
void format();
void setValueRepaint();
+#ifndef Q_OS_MAC
void setMinMaxRepaint();
+#endif
void sizeHint();
void formatedText_data();
void formatedText();
@@ -212,6 +214,10 @@ void tst_QProgressBar::setValueRepaint()
}
}
+// This test is invalid on Mac, since progressbars
+// are animated there
+
+#ifndef Q_OS_MAC
void tst_QProgressBar::setMinMaxRepaint()
{
ProgressBar pbar;
@@ -247,6 +253,7 @@ void tst_QProgressBar::setMinMaxRepaint()
QTRY_VERIFY(pbar.repainted);
}
}
+#endif //Q_OS_MAC
void tst_QProgressBar::sizeHint()
{