summaryrefslogtreecommitdiff
path: root/AudioManagerUtilities/test/AmSocketHandlerTest/CAmSocketHandlerTest.cpp
diff options
context:
space:
mode:
authorMartin Koch <mkoch@de.adit-jv.com>2020-01-14 14:48:54 +0100
committerMartin Koch <mkoch@de.adit-jv.com>2020-01-14 15:27:26 +0100
commit56b7b1883c354b78ab6cff5739ddd2f170603324 (patch)
tree6f95ae6a3cc298633b9af7e5a7d3febbba5dbd35 /AudioManagerUtilities/test/AmSocketHandlerTest/CAmSocketHandlerTest.cpp
parente0c47ec1fd95abbc5f8f32f9d9968dfbd02b0999 (diff)
downloadaudiomanager-56b7b1883c354b78ab6cff5739ddd2f170603324.tar.gz
AM: Reorganize daemon, core, utilities and tests to make use of the new logging architecture.
- Known side-effect: CAmSerializer.h and TAmPluginTemplate.h no longer indirectly include dlt_user.h. Thus macros like DLT_DECLARE_CONTEXT and DLT_IMPORT_CONTEXT may be undefined in application code unless CAmDltWrapper.h or dlt_user.h is included explicitly. - Since the DLT functionality is now encapsulated inside a dedicated class, such declaration is usually superfluous and can be dropped. Signed-off-by: Martin Koch <mkoch@de.adit-jv.com>
Diffstat (limited to 'AudioManagerUtilities/test/AmSocketHandlerTest/CAmSocketHandlerTest.cpp')
-rw-r--r--AudioManagerUtilities/test/AmSocketHandlerTest/CAmSocketHandlerTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/AudioManagerUtilities/test/AmSocketHandlerTest/CAmSocketHandlerTest.cpp b/AudioManagerUtilities/test/AmSocketHandlerTest/CAmSocketHandlerTest.cpp
index 3fde011..9914955 100644
--- a/AudioManagerUtilities/test/AmSocketHandlerTest/CAmSocketHandlerTest.cpp
+++ b/AudioManagerUtilities/test/AmSocketHandlerTest/CAmSocketHandlerTest.cpp
@@ -32,7 +32,7 @@
#include <sys/un.h>
#include <sys/poll.h>
#include <sys/eventfd.h>
-#include "CAmDltWrapper.h"
+#include "CAmLogWrapper.h"
#include "CAmSocketHandler.h"
@@ -771,6 +771,7 @@ TEST(CAmSocketHandlerTest,playWithSockets)
int main(int argc, char **argv)
{
::testing::InitGoogleTest(&argc, argv);
+ CAmLogWrapper::instantiateOnce("GTST", "GTEST for Socket Handler", LS_ON, LOG_SERVICE_DLT);
return RUN_ALL_TESTS();
}