Imt.Base C++ API V4.1.1.0
Loading...
Searching...
No Matches
TestBase.h
Go to the documentation of this file.
1// (c) IMT - Information Management Technology AG, CH-9470 Buchs, www.imt.ch.
2
3#ifndef IMT_BASE_DFF_UNIT_TEST_HELPER_TESTBASE_H
4#define IMT_BASE_DFF_UNIT_TEST_HELPER_TESTBASE_H
5
7
8namespace unitTestHelper {
9
16public ref class TestBase {
17public:
18
19#ifndef TEST_BASE_CUSTOM
23 static void testBaseAssemblySetUp() {
24 }
25
29 virtual void testBaseSetUp() {
30 }
34 virtual void testBaseTearDown() {
35 }
36
41 }
42#else
43
47 static void testBaseAssemblySetUp();
48
52 virtual void testBaseSetUp();
56 virtual void testBaseTearDown();
57
61 static void testBaseAssemblyTearDown();
62#endif // TEST_BASE_CUSTOM
63};
64
65} // namespace unitTestHelper
66
67#endif // IMT_BASE_DFF_UNIT_TEST_HELPER_TESTBASE_H
Test base class.
Definition TestBase.h:16
virtual void testBaseSetUp()
Setup test.
Definition TestBase.h:29
static void testBaseAssemblyTearDown()
Tear down test assembly.
Definition TestBase.h:40
virtual void testBaseTearDown()
Tear down test.
Definition TestBase.h:34
static void testBaseAssemblySetUp()
Setup test assembly.
Definition TestBase.h:23