test: Mark tst_QLocale::macDefaultLocale as XFAIL
authorSamuli Piippo <samuli.piippo@digia.com>
Thu, 8 Nov 2012 10:51:41 +0000 (12:51 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 8 Nov 2012 19:58:39 +0000 (20:58 +0100)
Task-number: QTBUG-27790
Change-Id: Ida33d9579df4ef35d0323546f4d89596e159cb8e
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
tests/auto/corelib/tools/qlocale/tst_qlocale.cpp

index 299ae10..40b5b3f 100644 (file)
@@ -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"));