Dataflow Runtime API
2.7.4.0
|
Base class for all UnitTests which use the mocking infrastructure. More...
#include <Imt.Base.Dff.UnitTest.Helper/MockTestBase.h>
Public Member Functions | |
void | baseSetUp (void) |
Setup test. | |
void | baseTearDown (void) |
Tear down test. | |
Public Member Functions inherited from unitTestHelper::TestBase | |
virtual void | testBaseSetUp (void) |
Setup test. More... | |
virtual void | testBaseTearDown (void) |
Tear down test. More... | |
Protected Member Functions | |
virtual void | assertNoMessagesSent (void) |
Asserts that no messages have been sent on any channel. More... | |
void | assertUnexpectedMessage (::imt::base::dff::activeparts::test::ChannelMockIn *pChannelIn, uint16_t protocolId) |
Asserts that a debug assertion is triggered on the given message. More... | |
void | assertUnexpectedTimer (::imt::base::dff::activeparts::test::ChannelMockIn *pChannelIn) |
Asserts that a debug assertion is triggered on a timer event. More... | |
Base class for all UnitTests which use the mocking infrastructure.
Clears the runtime mock and activates the memory leak detector.
|
inlineprotectedvirtual |
Asserts that no messages have been sent on any channel.
Must be implemented in the actual test class.
|
inlineprotected |
Asserts that a debug assertion is triggered on the given message.
pChannelIn | test message is send over this channel. |
protocolId | protocol identifier to test with. |
|
inlineprotected |
Asserts that a debug assertion is triggered on a timer event.
pChannelIn | passed message is send over this channel. |