summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/test
diff options
context:
space:
mode:
authorChristian Linke <christian.linke@bmw.de>2014-11-03 19:25:02 +0100
committerChristian Linke <christian.linke@bmw.de>2014-11-03 19:25:02 +0100
commitafadaf4260e8d436b454289e61e85ac8c5bab071 (patch)
tree902fb0c20b2c0e120e43c6528dbf4c89a26eccb6 /AudioManagerDaemon/test
parent76eaa73abe7469efaef801a4aec71ab707141758 (diff)
downloadaudiomanager-afadaf4260e8d436b454289e61e85ac8c5bab071.tar.gz
* size comparison fix
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Diffstat (limited to 'AudioManagerDaemon/test')
-rw-r--r--AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp b/AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp
index d4351b9..29dc8ce 100644
--- a/AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp
+++ b/AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp
@@ -2308,7 +2308,7 @@ TEST_F(CAmMapHandlerTest, connectionIDBoundary)
}
std::vector<am_Connection_s> connectionList;
ASSERT_EQ(E_OK, pDatabaseHandler.getListConnections(connectionList));
- ASSERT_EQ(TEST_MAX_CONNECTION_ID-1, connectionList.size());
+ ASSERT_EQ(TEST_MAX_CONNECTION_ID-1, static_cast<int>(connectionList.size()));
ASSERT_EQ(E_UNKNOWN, pDatabaseHandler.enterConnectionDB(connection,connectionID));
logInfo("here");
ASSERT_EQ(0, connectionID);
@@ -2362,7 +2362,7 @@ TEST_F(CAmMapHandlerTest, mainConnectionIDBoundary)
}
std::vector<am_Connection_s> connectionList;
ASSERT_EQ(E_OK, pDatabaseHandler.getListConnections(connectionList));
- ASSERT_EQ(TEST_MAX_CONNECTION_ID-1, connectionList.size());
+ ASSERT_EQ(TEST_MAX_CONNECTION_ID-1, static_cast<int>(connectionList.size()));
//create a mainConnection