Unit Test Framework
C and Traditional C++ API Reference
test_types.h
1
/*
2
* (c) Copyright, Real-Time Innovations, 2002-2022.
3
* All rights reserved.
4
* No duplications, whole or partial, manual or electronic, may be made
5
* without express written permission. Any such copies, or
6
* revisions thereof, must display this notice unaltered.
7
* This code contains trade secrets of Real-Time Innovations, Inc.
8
*/
9
10
#ifndef rtitest_types_h
11
#define rtitest_types_h
12
16
#ifndef RTI_PRIVATE
17
#define RTI_PRIVATE static
18
#endif
19
23
#ifndef RTIBool
24
#define RTIBool int
25
#endif
26
27
#ifndef RTI_TRUE
28
#define RTI_TRUE 1
29
#endif
30
31
#ifndef RTI_FALSE
32
#define RTI_FALSE 0
33
#endif
34
35
#ifndef NULL
36
#define NULL (0)
37
#endif
38
48
#define RTITestReturnCode int
49
54
#define RTI_TEST_RETCODE_FAILED RTI_FALSE
59
#define RTI_TEST_RETCODE_PASSED RTI_TRUE
65
#define RTI_TEST_RETCODE_PASSED_ON_RETRY 2
71
#define RTI_TEST_RETCODE_UNSUPPORTED 3
84
#define RTI_TEST_RETCODE_UNIMPLEMENTED 4
85
89
#if defined(RTI_WIN32) || defined(RTI_INTIME) || defined(RTI_INTY) \
90
|| defined(__DCC__)
91
#define RTI_FUNCTION_NAME __FUNCTION__
92
#else
93
#define RTI_FUNCTION_NAME __func__
94
#endif
95
96
#endif
/* rtitest_types_h */