summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdatetime
diff options
context:
space:
mode:
authorDarryl L. Miles <darryl.miles@darrylmiles.org>2011-03-28 14:56:47 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2011-03-28 14:56:47 (GMT)
commitd92c3ca977c62bdc0cc6d0961d4e2ae91cd5fc48 (patch)
tree78ee7f53026b54468e6f53a7e1aefd118230d59d /tests/auto/qdatetime
parent4250f602fd86418adaaa38616a5f71640b2a9132 (diff)
downloadQt-d92c3ca977c62bdc0cc6d0961d4e2ae91cd5fc48.zip
Qt-d92c3ca977c62bdc0cc6d0961d4e2ae91cd5fc48.tar.gz
Qt-d92c3ca977c62bdc0cc6d0961d4e2ae91cd5fc48.tar.bz2
This test fails in Europe/London timezone due to this check, since in winter Qt::LocalTime==Qt::UTC.
Merge-request: 1159 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
Diffstat (limited to 'tests/auto/qdatetime')
-rw-r--r--tests/auto/qdatetime/tst_qdatetime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qdatetime/tst_qdatetime.cpp b/tests/auto/qdatetime/tst_qdatetime.cpp
index fa9c70b..f8836a6 100644
--- a/tests/auto/qdatetime/tst_qdatetime.cpp
+++ b/tests/auto/qdatetime/tst_qdatetime.cpp
@@ -198,8 +198,8 @@ void tst_QDateTime::ctor()
QDateTime dt3(QDate(2004, 1, 2), QTime(1, 2, 3), Qt::UTC);
QVERIFY(dt1 == dt2);
- QVERIFY(dt1 != dt3);
if (europeanTimeZone) {
+ QVERIFY(dt1 != dt3);
QVERIFY(dt1 < dt3);
QVERIFY(dt1.addSecs(3600).toUTC() == dt3);
}