blob: 5484a0562f66186e005896723eecc109734f309b (
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
friend resconn_t* resproto_init(resproto_role_t, resproto_transport_t, ...);
private:
ResourceEngine *resourceEngine;
ResourceSet *resourceSet;
Resource audioPlayback;
Resource videoPlayback;
Resource audioRecorder;
Resource videoRecorder;
bool libresourceInitialized;
public:
TestResourceEngine();
~TestResourceEngine();
public slots:
private slots:
void init();
void testConnect();
};
#endif
|