Unit Test Framework
C and Traditional C++ API Reference
test_context.h
1
/*
2
* (c) Copyright, Real-Time Innovations, 2011-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_context_h
11
#define rtitest_context_h
12
13
#include "rtitest/test_log.h"
14
#include "rtitest/test_dll.h"
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
20
#if defined(RTI_WINCE)
21
#include <windows.h>
22
#endif
/*#if defined(RTI_WINCE)*/
23
24
#define RTI_TEST_CONTEXT_IS_INITIALIZED 22
25
26
struct
RTITestContext {
27
int
dummy;
28
int
isInitialized;
29
};
30
36
extern
RTITestDllExport
struct
RTITestContext *RTITestContext_new(
void
);
37
43
extern
RTITestDllExport
void
RTITestContext_delete(
struct
RTITestContext *self);
44
50
extern
RTITestDllExport
int
RTITestContext_initialize(
51
struct
RTITestContext *self);
52
58
extern
RTITestDllExport
void
RTITestContext_finalize(
59
struct
RTITestContext *self);
60
61
#ifdef __cplusplus
62
}
/* extern "C" */
63
#endif
64
65
#endif
/* rtitest_context_h */