summaryrefslogtreecommitdiff
path: root/tests/test-resource-engine/test-resource-engine.h
diff options
context:
space:
mode:
authorWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-02-09 16:32:16 +0200
committerWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-02-09 16:32:16 +0200
commit30dcb37e647eed8fd68874f7588cd203ef8fc709 (patch)
tree332dd618866da29d196b2e837d12a671a5d18cdb /tests/test-resource-engine/test-resource-engine.h
parent910493fac3e328cef329ade5e8c1a71e136ca246 (diff)
implemented ResourceEngine::disconnect()
Diffstat (limited to 'tests/test-resource-engine/test-resource-engine.h')
-rw-r--r--tests/test-resource-engine/test-resource-engine.h33
1 files changed, 19 insertions, 14 deletions
diff --git a/tests/test-resource-engine/test-resource-engine.h b/tests/test-resource-engine/test-resource-engine.h
index 5e7a79b..131eaf1 100644
--- a/tests/test-resource-engine/test-resource-engine.h
+++ b/tests/test-resource-engine/test-resource-engine.h
@@ -4,29 +4,34 @@
#include <QtTest/QTest>
#include "resource-engine.h"
-using namespace ResourcePolicy;
+namespace ResourcePolicy
+{
class TestResourceEngine: public QObject
{
- Q_OBJECT
+ Q_OBJECT
private:
- ResourceEngine *resourceEngine;
- AudioResource *audioPlayback;
- VideoResource *videoPlayback;
- AudioRecorderResource *audioRecorder;
- VideoRecorderResource *videoRecorder;
- bool libresourceInitialized;
+ ResourceEngine *resourceEngine;
+ AudioResource *audioPlayback;
+ VideoResource *videoPlayback;
+ AudioRecorderResource *audioRecorder;
+ VideoRecorderResource *videoRecorder;
+ bool libresourceInitialized;
public:
- ResourceSet *resourceSet;
+ ResourceSet *resourceSet;
- TestResourceEngine();
- ~TestResourceEngine();
+ TestResourceEngine();
+ ~TestResourceEngine();
public slots:
+ void connectedHandler();
private slots:
- void init();
+ void init();
- void testConnect();
+ void testConnect();
+ void testDisconnect();
+
+ void testStatusMessage();
};
-
+}
#endif