diff options
author | Christian Linke <christian.linke@bmw.de> | 2014-11-03 10:31:16 +0100 |
---|---|---|
committer | Christian Linke <christian.linke@bmw.de> | 2014-11-03 18:38:25 +0100 |
commit | 1779ea82b6e7792c65103d1dead8d301950a6c10 (patch) | |
tree | ae7c8dc701c64291c70a090e99f0c303850d0552 /AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp | |
parent | c8ba6c38648138ea10641acc2c89ebec543a3ce5 (diff) | |
download | audiomanager-1779ea82b6e7792c65103d1dead8d301950a6c10.tar.gz |
* Fixed missing reserved flag for MapHandler and corresponding tests
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Diffstat (limited to 'AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp')
-rw-r--r-- | AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |