From 5485dee80853f3d014f929d538eb02fee1a62a66 Mon Sep 17 00:00:00 2001 From: christian linke Date: Tue, 8 Jan 2013 16:31:16 +0100 Subject: * remove python from nodestatemanger test, remove warnings from test CXX flags, fix compare warning Signed-off-by: christian linke --- .../test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp | 1 - AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CMakeLists.txt | 1 - AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.cpp | 3 ++- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'AudioManagerDaemon') diff --git a/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp b/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp index 0624ff4..68d7c89 100644 --- a/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp +++ b/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp @@ -20,7 +20,6 @@ */ #include "CAmNodeStateCommunicatorTest.h" -#include #include "shared/CAmDltWrapper.h" #include "shared/CAmSocketHandler.h" #include "shared/CAmDbusWrapper.h" diff --git a/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CMakeLists.txt b/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CMakeLists.txt index 4300e49..f5b9b6d 100644 --- a/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CMakeLists.txt +++ b/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CMakeLists.txt @@ -27,7 +27,6 @@ set(EXECUTABLE_OUTPUT_PATH ${TEST_EXECUTABLE_OUTPUT_PATH}) FIND_PACKAGE(Threads) FIND_PACKAGE(DBUS REQUIRED) FIND_PACKAGE(PkgConfig) -FIND_PACKAGE(PythonLibs REQUIRED) pkg_check_modules(SQLITE REQUIRED sqlite3) diff --git a/AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.cpp b/AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.cpp index 9f172be..7f8bdf3 100644 --- a/AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.cpp +++ b/AudioManagerDaemon/test/AmRouterTest/CAmRouterTest.cpp @@ -1801,7 +1801,8 @@ TEST_F(CAmRouterTest,simpleRoute4Domains) compareRoute.sourceID = sourceID; ASSERT_EQ(E_OK, pRouter.getRoute(false,sourceID,sinkID,listRoutes)); - ASSERT_EQ(1, listRoutes.size()); + size_t size(1); + ASSERT_EQ(size, listRoutes.size()); ASSERT_TRUE(pCF.compareRoute(compareRoute,listRoutes[0])); } -- cgit v1.2.1