summaryrefslogtreecommitdiff
path: root/tests/test-resource-engine/test-resource-engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-resource-engine/test-resource-engine.h')
-rw-r--r--tests/test-resource-engine/test-resource-engine.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/test-resource-engine/test-resource-engine.h b/tests/test-resource-engine/test-resource-engine.h
new file mode 100644
index 0000000..5484a05
--- /dev/null
+++ b/tests/test-resource-engine/test-resource-engine.h
@@ -0,0 +1,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