Unit test for RemoteDBMgr and some stubs
[irwi] / ut / ut_remotedbmgr / ut_remotedbmgr.h
1 #ifndef _UT_REMOTEDBMGR_H_
2 #define _UT_REMOTEDBMGR_H_
3
4 #include "qnetworkreply.h"
5 #include <QObject>
6 #include <QStringList>
7 #include <QMap>
8 #include <QList>
9 #include <QDomElement>
10
11 #include "remotedb.h"
12 #include "remotedbmgr.h"
13
14 class Ut_RemoteDBMgr : public QObject
15 {
16     Q_OBJECT
17
18 private slots:
19     void initTestCase();
20     void cleanupTestCase();
21     void testGetDBAsync();
22
23 public slots: // public slots are not called by Qt Test framework
24     void verifyDB(RemoteDB *db);
25
26 private:
27     RemoteDBMgr subject;
28     RemoteDB validDB;
29     bool dbVerified;
30
31 };
32
33 #endif // _UT_REMOTEDBMGR_H_
34
35