From 1779ea82b6e7792c65103d1dead8d301950a6c10 Mon Sep 17 00:00:00 2001 From: Christian Linke Date: Mon, 3 Nov 2014 10:31:16 +0100 Subject: * Fixed missing reserved flag for MapHandler and corresponding tests Signed-off-by: Christian Linke --- AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp') diff --git a/AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp b/AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp index 25c61cc..d4351b9 100644 --- a/AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp +++ b/AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp @@ -2302,6 +2302,7 @@ TEST_F(CAmMapHandlerTest, connectionIDBoundary) if( i < TEST_MAX_CONNECTION_ID ) { ASSERT_EQ(E_OK, pDatabaseHandler.enterConnectionDB(connection,connectionID)); + ASSERT_EQ(E_OK, pDatabaseHandler.changeConnectionFinal(connectionID)); ASSERT_EQ(i, connectionID); } } @@ -2309,6 +2310,7 @@ TEST_F(CAmMapHandlerTest, connectionIDBoundary) ASSERT_EQ(E_OK, pDatabaseHandler.getListConnections(connectionList)); ASSERT_EQ(TEST_MAX_CONNECTION_ID-1, connectionList.size()); ASSERT_EQ(E_UNKNOWN, pDatabaseHandler.enterConnectionDB(connection,connectionID)); + logInfo("here"); ASSERT_EQ(0, connectionID); ASSERT_EQ(E_OK, pDatabaseHandler.removeConnection(10)); @@ -2353,6 +2355,7 @@ TEST_F(CAmMapHandlerTest, mainConnectionIDBoundary) if( i < TEST_MAX_CONNECTION_ID ) { ASSERT_EQ(E_OK, pDatabaseHandler.enterConnectionDB(connection,connectionID)); + ASSERT_EQ(E_OK, pDatabaseHandler.changeConnectionFinal(connectionID)); ASSERT_EQ(i, connectionID); connectionIDList.push_back(i); } -- cgit v1.2.1