qtmeetings sources to Maemo garage
[qtmeetings] / tests / Domain / Room / TestRoom.h
1 #include <QtTest/QtTest>
2
3 #include "Room.h"
4
5 class TestRoom: public QObject
6 {
7         Q_OBJECT
8
9 private slots:
10         /*!
11          * \function initTestCase is executed before testcase
12          */
13         void initTestCase();
14         /*!
15          * \function init is executed before individual test
16          */
17         void init();
18         /*!
19          *
20          * \function cleanup is executed after individual test
21          */
22         void cleanup();
23         /*!
24          * test for name
25          */
26         void testName();
27         /*!
28          * test for address
29          */
30         void testAddress();
31         /*!
32          * test for equals
33          */
34         void testEquals();
35         /*!
36          * test for toString
37          */
38         void testToString();
39         /*!
40          * \function cleanupTestCase is executed after testcase
41          */
42         void cleanupTestCase();
43
44 private:
45         Room *iRoom1, *iRoom2, *iRoom3, *iRoom4;
46
47         QString iName1, iName2;
48         QString iAddress1, iAddress2;
49
50 };