- create stucture for functional test

- implementation of first test
This commit is contained in:
Andreas Volz 2011-11-18 17:30:56 +01:00
parent 2185408cfa
commit 9be39fb628
12 changed files with 269 additions and 13 deletions

View 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