From 56b7b1883c354b78ab6cff5739ddd2f170603324 Mon Sep 17 00:00:00 2001 From: Martin Koch Date: Tue, 14 Jan 2020 14:48:54 +0100 Subject: 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 --- .../test/AmSocketHandlerTest/CAmSocketHandlerTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'AudioManagerUtilities/test/AmSocketHandlerTest/CAmSocketHandlerTest.cpp') 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 #include #include -#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(); } -- cgit v1.2.1