summaryrefslogtreecommitdiffstats
path: root/calendar/kde
diff options
context:
space:
mode:
authorPraveen Arimbrathodiyil <pravi.a@gmail.com>2009-01-11 18:05:44 -0800
committerPraveen Arimbrathodiyil <pravi.a@gmail.com>2009-01-11 18:05:44 -0800
commit06f3f2ec5d5c01e2a457f36bae9f188cda7f2b1b (patch)
tree896705fa9518823a8f1d0a8cfc2436cf25893ba7 /calendar/kde
parent944b4b452a56690e11b8b545d4135ecce9fefcde (diff)
downloadRachana.git-06f3f2ec5d5c01e2a457f36bae9f188cda7f2b1b.tar.gz
Rachana.git-06f3f2ec5d5c01e2a457f36bae9f188cda7f2b1b.tar.xz
Rachana.git-06f3f2ec5d5c01e2a457f36bae9f188cda7f2b1b.zip
All test cases in testIndic() now pass __correctly__.
Diffstat (limited to 'calendar/kde')
-rw-r--r--calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp b/calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp
index 5e2a7f1..14c9df2 100644
--- a/calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp
+++ b/calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp
@@ -141,14 +141,14 @@ void KCalendarTest::testIndic()
QCOMPARE( calendar->daysInYear(newDate), 365 );
newDate = calendar->addMonths( testDate, -4 );
- QCOMPARE( newDate.year(), 1999 );
- QCOMPARE( newDate.month(), 11 );
- QCOMPARE( newDate.day(), 1 );
+ QCOMPARE( newDate.year(), 2078 );
+ QCOMPARE( newDate.month(), 1 );
+ QCOMPARE( newDate.day(), 21 );
newDate = calendar->addDays( newDate, 20 );
- QCOMPARE( newDate.year(), 1999 );
- QCOMPARE( newDate.month(), 11 );
- QCOMPARE( newDate.day(), 21 );
+ QCOMPARE( newDate.year(), 2078 );
+ QCOMPARE( newDate.month(), 2 );
+ QCOMPARE( newDate.day(), 10 );
}