Dataflow Runtime API  4.0.1.0
Public Member Functions | Static Public Member Functions | List of all members
unitTestHelper::TestBase Class Reference

Test base class. More...

#include <Imt.Base.Dff.UnitTest.Helper/TestBase.h>

Inheritance diagram for unitTestHelper::TestBase:
unitTestHelper::MockTestBase

Public Member Functions

virtual void testBaseSetUp ()
 Setup test. More...
 
virtual void testBaseTearDown ()
 Tear down test. More...
 

Static Public Member Functions

static void testBaseAssemblySetUp (vid)
 Setup test assembly. More...
 
static void testBaseAssemblyTearDown ()
 Tear down test assembly. More...
 

Detailed Description

Test base class.

Allows to inject setup and teardown code into generated tests. To implement the methods, implement the methods testBaseSetUp() and testBaseTearDown() in a TestBase.cpp and define the TEST_BASE_CUSTOM macro in PlatformConfigApp.h.

Member Function Documentation

◆ testBaseAssemblySetUp()

static void unitTestHelper::TestBase::testBaseAssemblySetUp ( vid  )
inlinestatic

Setup test assembly.

Does nothing in case TEST_BASE_CUSTOM ist not defined.

◆ testBaseAssemblyTearDown()

static void unitTestHelper::TestBase::testBaseAssemblyTearDown ( )
inlinestatic

Tear down test assembly.

Does nothing in case TEST_BASE_CUSTOM ist not defined.

◆ testBaseSetUp()

virtual void unitTestHelper::TestBase::testBaseSetUp ( )
inlinevirtual

Setup test.

Does nothing in case TEST_BASE_CUSTOM is not defined.

◆ testBaseTearDown()

virtual void unitTestHelper::TestBase::testBaseTearDown ( )
inlinevirtual

Tear down test.

Does nothing in case TEST_BASE_CUSTOM is not defined.


The documentation for this class was generated from the following file: