Refactor for testing and a unit test.
[ptas] / zouba / qt / tests / ut_httpclient / ut_httpclient.h
1 #ifndef UT_HTTPCLIENT_H
2 #define UT_HTTPCLIENT_H
3
4 #include <QtTest/QtTest>
5 #include <QObject>
6
7 #include <httpclient_p.h>
8
9 Q_DECLARE_METATYPE(HttpClientPrivate*);
10
11 class Ut_HttpClient : public QObject
12 {
13     Q_OBJECT
14
15 public:
16
17 private slots:
18     void init();
19     void cleanup();
20     void initTestCase();
21     void cleanupTestCase();
22     void testParseReply();
23
24 private:
25     HttpClientPrivate *m_subject;
26 };
27 #endif // UT_HTTPCLIENT_H