equal
deleted
inserted
replaced
|
1 /* |
|
2 * unittest_emailmru.h |
|
3 * |
|
4 */ |
|
5 |
|
6 #ifndef UNITTEST_EMAILMRU_H_ |
|
7 #define UNITTEST_EMAILMRU_H_ |
|
8 |
|
9 #include <QtTest/QtTest> |
|
10 |
|
11 class EmailMRU; |
|
12 |
|
13 class TestEmailMru : public QObject |
|
14 { |
|
15 Q_OBJECT |
|
16 |
|
17 public: |
|
18 |
|
19 TestEmailMru(); |
|
20 ~TestEmailMru(); |
|
21 |
|
22 private slots: |
|
23 |
|
24 void initTestCase(); |
|
25 void cleanupTestCase(); |
|
26 void init(); |
|
27 void cleanup(); |
|
28 //tests |
|
29 void testMruStrings(); |
|
30 void testMruStrings_data(); |
|
31 void testUpperLimit(); |
|
32 void testUpdateEntry(); |
|
33 void testReset(); |
|
34 void testNameOrder(); |
|
35 |
|
36 private: |
|
37 EmailMRU *iMru; |
|
38 |
|
39 }; |
|
40 |
|
41 #endif /* UNITTEST_EMAILMRU_H_ */ |