Dataflow Runtime API  2.7.4.0
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 (void)
 Setup test. More...
 
virtual void testBaseTearDown (void)
 Tear down test. 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

◆ testBaseSetUp()

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

Setup test.

Does nothing in case TEST_BASE_CUSTOM is not defined.

◆ testBaseTearDown()

virtual void unitTestHelper::TestBase::testBaseTearDown ( void  )
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: