From 7666421ecaa46c0244e6272db80e0192aed47a28 Mon Sep 17 00:00:00 2001 From: Aleksandar Donchev Date: Fri, 28 Mar 2014 16:34:25 +0100 Subject: * Some unit tests fixed due issues occured on pocky build systems. Signed-off-by: Christian Linke --- 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 c02d5d3..8111494 100644 --- a/PluginRoutingInterfaceAsync/test/CAmRoutingReceiverAsync.cpp +++ b/PluginRoutingInterfaceAsync/test/CAmRoutingReceiverAsync.cpp @@ -46,12 +46,13 @@ CAmEnvironment::~CAmEnvironment() void CAmEnvironment::SetUp() { + ::testing::GTEST_FLAG(throw_on_failure) = false; logInfo("RoutingSendInterface Test started "); std::vector domainIDs; domainIDs.push_back(0); domainIDs.push_back(1); - + EXPECT_TRUE(Mock::VerifyAndClearExpectations(&env->pReceiveInterface)); EXPECT_CALL(env->pReceiveInterface,getSocketHandler(_)).WillOnce(DoAll(SetArgReferee<0>(&env->pSocketHandler), Return(E_OK))); EXPECT_CALL(env->pReceiveInterface,registerDomain(_,_)).WillRepeatedly(Invoke(CAmEnvironment::handleDomainRegister)); EXPECT_CALL(env->pReceiveInterface,registerSource(_,_)).WillRepeatedly(Invoke(CAmEnvironment::handleSourceRegister)); @@ -94,7 +95,7 @@ void CAmEnvironment::SetUp() void CAmEnvironment::TearDown() { - + ::testing::GTEST_FLAG(throw_on_failure) = true; } CAmRoutingReceiverAsync::CAmRoutingReceiverAsync() : -- cgit v1.2.1