Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / DynAny_Test / test_wrapper.h
bloba2fdecdbd7c220e9bbada9f5d8b4c04da0df48ca
2 //=============================================================================
3 /**
4 * @file test_wrapper.h
6 * Header file for the DynAny basic test manager
8 * @author Jeff Parsons <parsons@cs.wustl.edu>
9 */
10 //=============================================================================
13 #if !defined (TEST_WRAPPER_H)
14 #define TEST_WRAPPER_H
16 template <class T>
17 class Test_Wrapper
19 public:
20 typedef T TEST_OBJECT;
22 // constructor and destructor
23 Test_Wrapper (T *);
25 ~Test_Wrapper ();
27 /**
28 * @brief Run the test.
30 * @return The number of errors detected.
32 int run_test ();
34 private:
35 // This does all the work.
36 TEST_OBJECT* test_object_;
39 #include "test_wrapper.cpp"
41 #endif /* TEST_WRAPPER_H */