diff options
author | Aleksandar Donchev <Aleksander.Donchev@partner.bmw.de> | 2014-03-28 16:34:25 +0100 |
---|---|---|
committer | Christian Linke <christian.linke@bmw.de> | 2014-03-28 16:48:03 +0100 |
commit | 7666421ecaa46c0244e6272db80e0192aed47a28 (patch) | |
tree | e6ff9ef6c2bb67df96a1929d8d1c3c3e851a43b2 /PluginRoutingInterfaceAsync | |
parent | 4e95ee075a723ba9270cbd33704a553e51823795 (diff) | |
download | audiomanager-7666421ecaa46c0244e6272db80e0192aed47a28.tar.gz |
* Some unit tests fixed due issues occured on pocky build systems.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Diffstat (limited to 'PluginRoutingInterfaceAsync')
-rw-r--r-- | PluginRoutingInterfaceAsync/test/CAmRoutingReceiverAsync.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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<int> 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() : |