summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2012-02-16 09:35:53 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-17 11:44:29 +0100
commitea1ef2a471ef50495e8db9fd47aee6af72264470 (patch)
treedbd5677fc7f8f413efb0048f5018b15fbb431de1 /tests
parenta902387204e3b9713697ed0ec8fbb11ee5c88428 (diff)
Skip all tst_QFontDialog tests on Mac OS X
All of these tests currently hang. Task-number: QTBUG-24321 Change-Id: I7664b57f6539d4c03008701da66e193019a4440a Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/widgets/dialogs/qfontdialog/tst_qfontdialog.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/widgets/dialogs/qfontdialog/tst_qfontdialog.cpp b/tests/auto/widgets/dialogs/qfontdialog/tst_qfontdialog.cpp
index f5c3e08217..6b2caf17d7 100644
--- a/tests/auto/widgets/dialogs/qfontdialog/tst_qfontdialog.cpp
+++ b/tests/auto/widgets/dialogs/qfontdialog/tst_qfontdialog.cpp
@@ -114,6 +114,9 @@ void tst_QFontDialog::postKeyReturn() {
void tst_QFontDialog::defaultOkButton()
{
+#ifdef Q_OS_MAC
+ QSKIP("Test hangs on Mac OS X, see QTBUG-24321");
+#endif
bool ok = false;
QTimer::singleShot(2000, this, SLOT(postKeyReturn()));
QFontDialog::getFont(&ok);
@@ -123,6 +126,9 @@ void tst_QFontDialog::defaultOkButton()
void tst_QFontDialog::setFont()
{
+#ifdef Q_OS_MAC
+ QSKIP("Test hangs on Mac OS X, see QTBUG-24321");
+#endif
/* The font should be the same before as it is after if nothing changed
while the font dialog was open.
Task #27662
@@ -154,6 +160,10 @@ class FriendlyFontDialog : public QFontDialog
void tst_QFontDialog::task256466_wrongStyle()
{
+#ifdef Q_OS_MAC
+ QSKIP("Test crashes on Mac OS X, see QTBUG-24321");
+#endif
+
QFontDatabase fdb;
FriendlyFontDialog dialog;
QListView *familyList = reinterpret_cast<QListView*>(dialog.d_func()->familyList);