diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-03-28 14:42:27 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-03-28 14:42:27 (GMT) |
commit | 4250f602fd86418adaaa38616a5f71640b2a9132 (patch) | |
tree | 1781a186d8967874e633bda6be15353df5717d56 /tests/auto/qlocale | |
parent | 869a1c838ec58051f355552435049b58c6fbe354 (diff) | |
parent | 4da2ba2e788bb63a155e1d10ae559d4366eed875 (diff) | |
download | Qt-4250f602fd86418adaaa38616a5f71640b2a9132.zip Qt-4250f602fd86418adaaa38616a5f71640b2a9132.tar.gz Qt-4250f602fd86418adaaa38616a5f71640b2a9132.tar.bz2 |
Merge remote branch 'origin/master' into 4.8-earth
Diffstat (limited to 'tests/auto/qlocale')
-rw-r--r-- | tests/auto/qlocale/tst_qlocale.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/qlocale/tst_qlocale.cpp b/tests/auto/qlocale/tst_qlocale.cpp index 6f4de91..cabf12e 100644 --- a/tests/auto/qlocale/tst_qlocale.cpp +++ b/tests/auto/qlocale/tst_qlocale.cpp @@ -1147,7 +1147,11 @@ void tst_QLocale::macDefaultLocale() expectedGMTSpecifier.append(QString("0%1").arg(qAbs(diff))); else expectedGMTSpecifier.append(QString("%1").arg(qAbs(diff))); - QVERIFY(timeString.contains(expectedGMTSpecifier)); + QVERIFY2(timeString.contains(expectedGMTSpecifier), qPrintable( + QString("timeString `%1', expectedGMTSpecifier `%2'") + .arg(timeString) + .arg(expectedGMTSpecifier) + )); } QCOMPARE(locale.dayName(1), QString("Monday")); QCOMPARE(locale.dayName(7), QString("Sunday")); |