diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2011-03-06 20:48:44 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2011-03-06 20:48:44 +0000 |
commit | 9f34304079b57c635b57ddd3f4c5eb97013358b1 (patch) | |
tree | 0a23411a3a2c61bb43a0d18f04fb45bff67871fd /media-plugins/kipi-plugins/files | |
parent | Version bump + move into ~arch. (diff) | |
download | gentoo-2-9f34304079b57c635b57ddd3f4c5eb97013358b1.tar.gz gentoo-2-9f34304079b57c635b57ddd3f4c5eb97013358b1.tar.bz2 gentoo-2-9f34304079b57c635b57ddd3f4c5eb97013358b1.zip |
Fix a sub-test where QT has become more tolerant in date/time parsing
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/kipi-plugins/files')
-rw-r--r-- | media-plugins/kipi-plugins/files/kipi-plugins-1.9.0-tests.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/media-plugins/kipi-plugins/files/kipi-plugins-1.9.0-tests.patch b/media-plugins/kipi-plugins/files/kipi-plugins-1.9.0-tests.patch new file mode 100644 index 000000000000..89b85abdbe9a --- /dev/null +++ b/media-plugins/kipi-plugins/files/kipi-plugins-1.9.0-tests.patch @@ -0,0 +1,21 @@ +diff -ruN kipi-plugins-1.9.0.orig/gpssync/tests/test_gpxparsing.cpp kipi-plugins-1.9.0/gpssync/tests/test_gpxparsing.cpp +--- kipi-plugins-1.9.0.orig/gpssync/tests/test_gpxparsing.cpp 2011-02-28 00:53:44.000000000 +0100 ++++ kipi-plugins-1.9.0/gpssync/tests/test_gpxparsing.cpp 2011-03-06 21:37:23.127817959 +0100 +@@ -48,11 +48,12 @@ + } + + { +- // eCoach in N900: 2010-01-14T09:26:02.287+02:00 +- QDateTime time1 = QDateTime::fromString("2010-01-14T09:26:02.287+02:00", Qt::ISODate); +- // the date is parsed fine, but the time fails: +- QCOMPARE(time1.date(), QDate(2010, 01, 14)); +- QCOMPARE(time1.time(), QTime(0, 0, 0)); ++ // // eCoach in N900: 2010-01-14T09:26:02.287+02:00 ++ // QDateTime time1 = QDateTime::fromString("2010-01-14T09:26:02.287+02:00", Qt::ISODate); ++ // // the date is parsed fine, but the time fails: ++ // QCOMPARE(time1.date(), QDate(2010, 01, 14)); ++ // QCOMPARE(time1.time(), QTime(0, 0, 0)); ++ // seems that the QT classes behave different now + + // when we omit the time zone data, parsing succeeds + // time is interpreted as local time |