Moved files to make zouba the only project.
[ptas] / tests / ut_gpscontroller / ut_gpscontroller.h
1 #ifndef UT_GPSCONTROLLER_H
2 #define UT_GPSCONTROLLER_H
3
4 #include <QtTest/QtTest>
5 #include <QObject>
6
7 class GpsController;
8 class MyGpsControllerPrivate;
9 class Location;
10
11 Q_DECLARE_METATYPE(GpsController*);
12 Q_DECLARE_METATYPE(MyGpsControllerPrivate*);
13 Q_DECLARE_METATYPE(Location*);
14
15 class Ut_GpsController : public QObject
16 {
17 Q_OBJECT
18
19 public:
20
21 private slots:
22   void init();
23   void cleanup();
24   void initTestCase();
25   void cleanupTestCase();
26   void testGetGpsWithNoGpsUpdates();
27   void testGetGpsWithGpsUpdates();
28   void testFakeGps();
29   void testLiveToFakeToLive();
30
31 private:
32   GpsController *m_subject;
33   MyGpsControllerPrivate *m_subject_p;
34 };
35 #endif // UT_GPSCONTROLLER_H