equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __TEST_CALENDATEUTILS_H__ |
|
19 #define __TEST_CALENDATEUTILS_H__ |
|
20 |
|
21 #include <QObject> |
|
22 |
|
23 class TestCalenDateUtils : public QObject |
|
24 { |
|
25 Q_OBJECT |
|
26 public: |
|
27 TestCalenDateUtils(); |
|
28 ~TestCalenDateUtils(); |
|
29 |
|
30 private slots: |
|
31 void init(); |
|
32 void cleanup(); |
|
33 |
|
34 void test_onSameDay(); |
|
35 void test_onSameMonth(); |
|
36 void test_beginningOfDay(); |
|
37 void test_displayTimeOnDay(); |
|
38 void test_timeRangesIntersect(); |
|
39 void test_isValidDay(); |
|
40 void test_limitToValidTime(); |
|
41 void test_maxTime(); |
|
42 void test_minTime(); |
|
43 void test_timeOfDay(); |
|
44 void test_roundToPreviousHour(); |
|
45 void test_roundToPreviousHourFromMinutes(); |
|
46 void test_now(); |
|
47 void test_today(); |
|
48 void test_isOnToday(); |
|
49 void test_defaultTime(); |
|
50 void test_futureOf(); |
|
51 }; |
|
52 |
|
53 #endif // __TEST_CALENDATEUTILS_H__ |
|
54 |
|
55 // End of file |