blob: b4f2b8d1cd936fc96668b475daa972e224f437c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
// -*- c++ -*-
// $Id$
// ============================================================================
//
// = LIBRARY
// TAO/tests/DynAny_Test
//
// = FILENAME
// test_wrapper.h
//
// = DESCRIPTION
// Header file for the DynAny basic test manager
//
// = AUTHOR
// Jeff Parsons <jp4@cs.wustl.edu>
//
// ============================================================================
#if !defined (TEST_WRAPPER_H)
#define TEST_WRAPPER_H
template <class T>
class Test_Wrapper
{
public:
typedef T TEST_OBJECT;
// constructor and destructor
Test_Wrapper (T *);
~Test_Wrapper (void);
int run_test (void);
private:
// This does all the work.
TEST_OBJECT* test_object_;
};
#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
#include "test_wrapper.cpp"
#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */
#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
#pragma implementation "test_wrapper.cpp"
#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */
#endif /* TEST_WRAPPER_H */
|