From f2f42846720bcb6278e30d9234e911152507de8b Mon Sep 17 00:00:00 2001 From: christian mueller Date: Fri, 23 Mar 2012 13:43:37 +0100 Subject: * [GAM-46] improvements on CAmSockthandler. * Needed adoptions on CAmSockethandler tests * Small bug in CAmSerializer Signed-off-by: christian mueller --- PluginRoutingInterfaceAsync/test/CAmRoutingReceiverAsync.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'PluginRoutingInterfaceAsync') diff --git a/PluginRoutingInterfaceAsync/test/CAmRoutingReceiverAsync.cpp b/PluginRoutingInterfaceAsync/test/CAmRoutingReceiverAsync.cpp index 2c13512..55e706a 100644 --- a/PluginRoutingInterfaceAsync/test/CAmRoutingReceiverAsync.cpp +++ b/PluginRoutingInterfaceAsync/test/CAmRoutingReceiverAsync.cpp @@ -388,12 +388,13 @@ TEST_F(CAmRoutingReceiverAsync,connectNoMoreThreads) am_ConnectionFormat_e format = CF_GENIVI_ANALOG; EXPECT_CALL(pReceiveInterface,ackConnect(_,_,E_OK)).Times(10); - for (int i = 0; i < 9; i++) + for (int i = 0; i < 10; i++) { handle.handle++; connectionID++; ASSERT_EQ(E_OK, pRouter->asyncConnect(handle,connectionID,sourceID,sinkID,format)); - }ASSERT_EQ(E_NOT_POSSIBLE, pRouter->asyncConnect(handle,connectionID,sourceID,sinkID,format)); + } + ASSERT_EQ(E_NOT_POSSIBLE, pRouter->asyncConnect(handle,connectionID,sourceID,sinkID,format)); pSocketHandler.start_listenting(); } -- cgit v1.2.1