summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@digia.com>2012-11-08 12:51:41 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-08 20:58:39 +0100
commitacf959bee68d0dffc38770c045e47f7c4ccf348f (patch)
tree808bb41eedf2ba0f2439a23a476ec96bd2a90ff8
parent999109866dbd350a29cc70815d0c772545c85746 (diff)
test: Mark tst_QLocale::macDefaultLocale as XFAIL
Task-number: QTBUG-27790 Change-Id: Ida33d9579df4ef35d0323546f4d89596e159cb8e Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
-rw-r--r--tests/auto/corelib/tools/qlocale/tst_qlocale.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp
index 299ae104f1..40b5b3f935 100644
--- a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp
+++ b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp
@@ -1136,6 +1136,8 @@ void tst_QLocale::macDefaultLocale()
QCOMPARE(locale.decimalPoint(), QChar('.'));
QCOMPARE(locale.groupSeparator(), QChar(','));
QCOMPARE(locale.dateFormat(QLocale::ShortFormat), QString("M/d/yy"));
+ if (QSysInfo::MacintoshVersion > QSysInfo::MV_10_6)
+ QEXPECT_FAIL("", "QTBUG-27790", Continue);
QCOMPARE(locale.dateFormat(QLocale::LongFormat), QString("MMMM d, yyyy"));
QCOMPARE(locale.timeFormat(QLocale::ShortFormat), QString("h:mm AP"));
QCOMPARE(locale.timeFormat(QLocale::LongFormat), QString("h:mm:ss AP t"));