summaryrefslogtreecommitdiff
path: root/tests/test-libplayback.h
blob: 03ffc4a0d4f23d1be89e83c68143c5832f9f6872 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef TEST_RESOURCE_FACTORY_H
#define TEST_RESOURCE_FACTORY_H

#include <QtTest/QTest>
#include <QEventLoop>
#include <QTimer>
#include "resource-factory.h"
#include "resource.h"

class TestLibplayback: public QObject
{
   Q_OBJECT
private:
   ResourceFactory *resourceFactory;
   Resource *resource;
   QEventLoop *loop;
   QTimer *timer;
public:
   TestLibplayback();
   ~TestLibplayback();
public slots:
   void timeout();
private slots:
   void init();

   void testConnectToServer();
};

#endif