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

List:       kde-commits
Subject:    [kdepim] messageviewer/src/viewerplugins/autotests: Restore the original behavior of this test.
From:       Volker Krause <vkrause () kde ! org>
Date:       2015-10-31 19:10:46
Message-ID: E1ZsbY6-0006GH-RC () scm ! kde ! org
[Download RAW message or body]

Git commit c638e1f94d5158bc8cb9508891d48ac95cba70e9 by Volker Krause.
Committed on 31/10/2015 at 19:10.
Pushed by vkrause into branch 'master'.

Restore the original behavior of this test.

That got added by my attempt to fix the test earlier today.

M  +0    -1    messageviewer/src/viewerplugins/autotests/eventedittest.cpp

http://commits.kde.org/kdepim/c638e1f94d5158bc8cb9508891d48ac95cba70e9

diff --git a/messageviewer/src/viewerplugins/autotests/eventedittest.cpp \
b/messageviewer/src/viewerplugins/autotests/eventedittest.cpp index 46e369a..fa16503 \
                100644
--- a/messageviewer/src/viewerplugins/autotests/eventedittest.cpp
+++ b/messageviewer/src/viewerplugins/autotests/eventedittest.cpp
@@ -398,7 +398,6 @@ void EventEditTest::shouldUpdateStartEndDateWhenReopenIt()
     QCOMPARE(startDateTime->dateTime().time().minute(), \
newDateTime.time().minute());  QCOMPARE(startDateTime->dateTime().date(), \
newDateTime.date());  
-    newDateTime = newDateTime.addSecs(3600);
     QCOMPARE(endDateTime->dateTime().time().hour(), newDateTime.time().hour());
     QCOMPARE(endDateTime->dateTime().time().minute(), newDateTime.time().minute());
     QCOMPARE(endDateTime->dateTime().date(), newDateTime.date());


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

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