summaryrefslogtreecommitdiff
path: root/tests/test-resource-engine/test-resource-engine.h
blob: 5e7a79be1e59112517b64ef8519edcb60ff28722 (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
30
31
32
#ifndef TEST_RESOURCE_ENGINE_H
#define TEST_RESOURCE_ENGINE_H

#include <QtTest/QTest>
#include "resource-engine.h"

using namespace ResourcePolicy;

class TestResourceEngine: public QObject
{
   Q_OBJECT
private:
   ResourceEngine *resourceEngine;
   AudioResource *audioPlayback;
   VideoResource *videoPlayback;
   AudioRecorderResource *audioRecorder;
   VideoRecorderResource *videoRecorder;
   bool libresourceInitialized;
public:
   ResourceSet *resourceSet;

   TestResourceEngine();
   ~TestResourceEngine();
public slots:

private slots:
   void init();

   void testConnect();
};

#endif