diff options
author | Wolf Bergenheim <ext-wolf.2.bergenheim@nokia.com> | 2010-02-02 15:51:41 +0200 |
---|---|---|
committer | Wolf Bergenheim <ext-wolf.2.bergenheim@nokia.com> | 2010-02-02 15:51:41 +0200 |
commit | 8bff62c335842b4c850cc09716e79c2f556247c7 (patch) | |
tree | 281dd5c4a92087f6308e3fb540aba62d7fd272c2 /tests/test-resource-engine/test-resource-engine.h | |
parent | b7d622788b55d30d51ce30bd58634763fddf66fc (diff) |
directory structure changes
Diffstat (limited to 'tests/test-resource-engine/test-resource-engine.h')
-rw-r--r-- | tests/test-resource-engine/test-resource-engine.h | 32 |
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 |