summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/test
diff options
context:
space:
mode:
authorchristian mueller <christian.ei.mueller@bmw.de>2011-12-30 11:27:33 +0100
committerchristian mueller <christian.ei.mueller@bmw.de>2011-12-30 11:27:33 +0100
commit6ebae8c4d3a340c135ed2f5f611a0e1c31994164 (patch)
treef1587ba695e6fd4912921d9ede2335c5e206a215 /AudioManagerDaemon/test
parentd2033f10762c1b39b7755f067cb614228336aec8 (diff)
downloadaudiomanager-6ebae8c4d3a340c135ed2f5f611a0e1c31994164.tar.gz
* fixed sockethandler timespec issues
Diffstat (limited to 'AudioManagerDaemon/test')
-rw-r--r--AudioManagerDaemon/test/CMakeLists.txt2
-rw-r--r--AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/AudioManagerDaemon/test/CMakeLists.txt b/AudioManagerDaemon/test/CMakeLists.txt
index 7f8c054..f00ec41 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 4d6619e..cf551aa 100644
--- a/AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp
+++ b/AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp
@@ -186,6 +186,7 @@ TEST(sockethandlerTest,playWithSockets)
TEST(sockethandlerTest,playWithTimers)
{
+ gDispatchDone=0;
SocketHandler myHandler;
timerCallBack testCallback(&myHandler);
timespec timeoutTime, timeout2, timeout3, timeout4;