From bb2857d70c3a8a9c770ec25ad98f0f6175971231 Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Sun, 11 Jan 2009 14:40:07 -0800 Subject: updated test cases for setDate change. --- calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp b/calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp index cea8f1e..d03b434 100644 --- a/calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp +++ b/calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp @@ -131,10 +131,9 @@ void KCalendarTest::testIndic() QCOMPARE( calendar->dayOfYear(testDate), 173 ); QVERIFY( calendar->setYMD( testDate, 2000, 3, 1 ) ); -// Not sure if it should return Saka year. - QCOMPARE( calendar->year(testDate), 1921 ); - QCOMPARE( calendar->month(testDate), 12 ); - QCOMPARE( calendar->day(testDate), 11 ); + QCOMPARE( calendar->year(testDate), 2000 ); + QCOMPARE( calendar->month(testDate), 3 ); + QCOMPARE( calendar->day(testDate), 1 ); QDate newDate = calendar->addYears(testDate, 4); // doubt -- cgit