- create stucture for functional test
- implementation of first test
This commit is contained in:
parent
2185408cfa
commit
9be39fb628
12 changed files with 269 additions and 13 deletions
28
test/functional/Test1/TestApp.h
Normal file
28
test/functional/Test1/TestApp.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
#ifndef TEST_APP_H
|
||||
#define TEST_APP_H
|
||||
|
||||
// STD
|
||||
#include <string.h>
|
||||
|
||||
/* DBus-cxx */
|
||||
#include <dbus-c++/dbus.h>
|
||||
#include "TestAppIntroProvider.h"
|
||||
|
||||
class TestApp
|
||||
{
|
||||
public:
|
||||
TestApp ();
|
||||
|
||||
private:
|
||||
void initDBus ();
|
||||
|
||||
static void testHandler (const void *data, void *buffer, unsigned int nbyte);
|
||||
static void *testThreadRunner (void *arg);
|
||||
static void *testThreadRunnerProvider (void *arg);
|
||||
|
||||
// variables
|
||||
|
||||
pthread_t testThread;
|
||||
};
|
||||
|
||||
#endif // TEST_APP_H
|
Loading…
Add table
Add a link
Reference in a new issue