summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp')
-rw-r--r--AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp5
1 files changed, 5 insertions, 0 deletions
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()
{
}