diff options
Diffstat (limited to 'calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp')
-rw-r--r-- | calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp | 12 |
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 fc775b2..32d5a6a 100644 --- a/calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp +++ b/calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp @@ -308,14 +308,14 @@ void KCalendarTest::testJalaliBasic() void KCalendarTest::testIndicBasic() { - const KCalendarSystem *calendar = KCalendarSystem::create(QString( "jalali" )); + const KCalendarSystem *calendar = KCalendarSystem::create(QString( "indic" )); - QCOMPARE( calendar->calendarType(), QString("jalali") ); - QCOMPARE( KCalendarSystem::calendarLabel( QString("jalali") ), QString("Jalali") ); + QCOMPARE( calendar->calendarType(), QString("indic") ); + QCOMPARE( KCalendarSystem::calendarLabel( QString("indic") ), QString("Indic") ); - QCOMPARE( calendar->epoch(), QDate( 622, 3, 19 ) ); - QCOMPARE( calendar->earliestValidDate(), QDate( 622, 3, 19 ) ); - QCOMPARE( calendar->latestValidDate(), QDate( 10621, 3, 17 ) ); + QCOMPARE( calendar->epoch(), QDate( 79, 3, 22 ) ); + QCOMPARE( calendar->earliestValidDate(), QDate( 79, 3, 22 ) ); + QCOMPARE( calendar->latestValidDate(), QDate( 9999, 12, 31 ) ); testValid( calendar, 10000, 13, 32, QDate( 1, 1, 1 ) ); |