[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kdecore/tests
From: Meni Livne <livne () kde ! org>
Date: 2003-10-20 11:26:34
[Download RAW message or body]
CVS commit by livne:
Add tests for (day|month|year)String(),
remove test for deprecated yearLiteral().
M +4 -1 kcalendartest.cpp 1.6
--- kdelibs/kdecore/tests/kcalendartest.cpp #1.5:1.6
@@ -100,5 +100,8 @@ void test(QDate & date) {
kdDebug() << "Month for date " << date.toString() << " is " << \
KGlobal::locale()->calendar()->month(date) << endl;
kdDebug() << "Year for date " << date.toString() << " is " << \
KGlobal::locale()->calendar()->year(date) << endl;
- kdDebug() << "(Liteal) Year for date " << date.toString() << " is " << \
KGlobal::locale()->calendar()->yearLiteral(date) << endl; +
+ kdDebug() << "Day for date " << date.toString() << " as a string is " << \
KGlobal::locale()->calendar()->dayString(date, true) << endl; + kdDebug() << \
"Month for date " << date.toString() << " as a string is " << \
KGlobal::locale()->calendar()->monthString(date, true) << endl; + kdDebug() << \
"Year for date " << date.toString() << " as a string is " << \
KGlobal::locale()->calendar()->yearString(date, true) << endl;
kdDebug() << "Day of week for date " << date.toString() << " is number " << \
KGlobal::locale()->calendar()->dayOfWeek(date) << endl;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic