EmbeddedUnit
embUnit
TestCase.h
Go to the documentation of this file.
1
34
#ifndef __TESTCASE_H__
35
#define __TESTCASE_H__
36
37
typedef
struct
__TestCase
TestCase
;
38
typedef
struct
__TestCase
*
TestCaseRef
;
/*compatible embUnit1.0*/
39
40
struct
__TestCase
{
41
TestImplement
* isa;
42
char
*name;
43
void(*setUp)(void);
44
void(*tearDown)(void);
45
void(*runTest)(void);
46
};
47
48
extern
const
TestImplement
TestCaseImplement;
49
50
#define new_TestCase(name,setUp,tearDown,runTest)\
51
{\
52
(TestImplement*)&TestCaseImplement,\
53
name,\
54
setUp,\
55
tearDown,\
56
runTest,\
57
}
58
59
#endif
/*__TESTCASE_H__*/
__TestCase
Definition:
TestCase.h:40
__TestImplement
Definition:
Test.h:47
Generated by
1.8.13