Merge branch 'master' of mercury.wipsl.com:/var/git/irwi
[irwi] / ut / ut_remote / ut_remote.h
1 #ifndef UT_REMOTE_H
2 #define UT_REMOTE_H
3
4 #include <QObject>
5 #include <QWaitCondition>
6
7 class Remote;
8
9 class Ut_Remote : public QObject
10 {
11     Q_OBJECT
12
13 private slots:
14     void initTestCase();
15     void cleanupTestCase();
16     void init();
17     void cleanup();
18
19     void testSaveToFile_normal();
20     void testSaveToFile_emptyname();
21     void testUpdateInfo_normal();
22     void testUpdateInfo_emptyname();
23     void testSendRating_up();
24     void testSendRating_down();
25
26 public slots:
27     void wakeTest();
28
29 private:
30     Remote *subject;
31     QWaitCondition cond;
32 };
33
34 #endif // UT_REMOTE_H
35
36