[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [gwenview/KDE/4.8] tests/auto: Document why timeutilstest can fail
From:       Aurélien Gâteau <agateau () kde ! org>
Date:       2012-01-31 21:42:40
Message-ID: 20120131214240.BEF5EA60A6 () git ! kde ! org
[Download RAW message or body]

Git commit 47b7552463e126e66c54b5265c928b8a970579a9 by Aurélien Gâteau.
Committed on 31/01/2012 at 12:54.
Pushed by gateau into branch 'KDE/4.8'.

Document why timeutilstest can fail

M  +1    -1    tests/auto/timeutilstest.cpp

http://commits.kde.org/gwenview/47b7552463e126e66c54b5265c928b8a970579a9

diff --git a/tests/auto/timeutilstest.cpp b/tests/auto/timeutilstest.cpp
index ace29bb..40b383d 100644
--- a/tests/auto/timeutilstest.cpp
+++ b/tests/auto/timeutilstest.cpp
@@ -57,7 +57,7 @@ void TimeUtilsTest::testJpeg()
     KDateTime dateTime = TimeUtils::dateTimeForFileItem(item);
 
     const KDateTime orient6DateTime = KDateTime::fromString("2003-03-25T02:02:21");
-    QCOMPARE(dateTime, orient6DateTime);
+    QVERIFY2(dateTime == orient6DateTime, "This could be caused by not having strigi \
jpeg analyzer installed (usually in $KDEDIR/lib/strigi/strigiea_jpeg.so)");  }
 
 void TimeUtilsTest::testCache()


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic