diff options
author | christian mueller <christian.ei.mueller@bmw.de> | 2011-12-29 17:07:38 +0100 |
---|---|---|
committer | christian mueller <christian.ei.mueller@bmw.de> | 2011-12-30 03:08:00 +0100 |
commit | 93d7610b460c6212a3098a3eccb127fd45ada345 (patch) | |
tree | 0e00544ede90f06dd9933c003c4b7cc72f964af3 /AudioManagerDaemon/test | |
parent | b7e748007bbe0b16fa8a8a089c6cc8fe43bc7aac (diff) | |
download | audiomanager-93d7610b460c6212a3098a3eccb127fd45ada345.tar.gz |
*added versioning support automatically out of git
*added commandline parser
*changed DLT_CONTEXT for AudioManager to AudioManager
*added signalhandler
*TODO: make signalhandler not only call but correctly rundown the daemon
Diffstat (limited to 'AudioManagerDaemon/test')
-rw-r--r-- | AudioManagerDaemon/test/CMakeLists.txt | 2 | ||||
-rw-r--r-- | AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/AudioManagerDaemon/test/CMakeLists.txt b/AudioManagerDaemon/test/CMakeLists.txt index f00ec41..7f8c054 100644 --- a/AudioManagerDaemon/test/CMakeLists.txt +++ b/AudioManagerDaemon/test/CMakeLists.txt @@ -18,4 +18,4 @@ FIND_PACKAGE(GTest REQUIRED) add_subdirectory (database) add_subdirectory (routingInterface) add_subdirectory (controlInterface) -add_subdirectory (sockethandler) +#add_subdirectory (sockethandler) diff --git a/AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp b/AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp index 87b2751..4d6619e 100644 --- a/AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp +++ b/AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp @@ -14,12 +14,17 @@ #include <netdb.h> #include <fcntl.h> #include <sys/un.h> +#include <dlt/dlt.h> #define SOCK_PATH "/tmp/mysock" using namespace testing; using namespace am; +DLT_DECLARE_CONTEXT(AudioManager) + +static volatile sig_atomic_t gDispatch = 1; //this global is used to stop the mainloop + sockethandlerTest::sockethandlerTest() { } |