Dataflow Runtime API
4.0.1.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 () |
Setup test. More... | |
void | baseTearDown () |
Tear down test. More... | |
Public Member Functions inherited from unitTestHelper::TestBase | |
virtual void | testBaseSetUp () |
Setup test. More... | |
virtual void | testBaseTearDown () |
Tear down test. More... | |
Static Public Member Functions | |
static void | baseAssemblySetUp (TestContext ^ context) |
Setup assembly. More... | |
static void | baseAssemblyTearDown () |
Test assembly cleanup. More... | |
Static Public Member Functions inherited from unitTestHelper::TestBase | |
static void | testBaseAssemblySetUp (vid) |
Setup test assembly. More... | |
static void | testBaseAssemblyTearDown () |
Tear down test assembly. More... | |
Protected Member Functions | |
virtual void | assertNoMessagesSent () |
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. |
|
inlinestatic |
Setup assembly.
context | The test context |
|
inlinestatic |
Test assembly cleanup.
|
inline |
Setup test.
|
inline |
Tear down test.