From 93d7610b460c6212a3098a3eccb127fd45ada345 Mon Sep 17 00:00:00 2001 From: christian mueller Date: Thu, 29 Dec 2011 17:07:38 +0100 Subject: *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 --- AudioManagerDaemon/test/CMakeLists.txt | 2 +- AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'AudioManagerDaemon/test') 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 #include #include +#include #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() { } -- cgit v1.2.1