diff options
Diffstat (limited to 'TAO/tests/DynAny_Test/test_wrapper.cpp')
-rw-r--r-- | TAO/tests/DynAny_Test/test_wrapper.cpp | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/TAO/tests/DynAny_Test/test_wrapper.cpp b/TAO/tests/DynAny_Test/test_wrapper.cpp deleted file mode 100644 index ee804a53393..00000000000 --- a/TAO/tests/DynAny_Test/test_wrapper.cpp +++ /dev/null @@ -1,62 +0,0 @@ -// -*- c++ -*- -// $Id$ -// ============================================================================ -// -// = LIBRARY -// TAO/tests/DynAny_Test -// -// = FILENAME -// test_wrapper.cpp -// -// = DESCRIPTION -// This file contains the implementation of the DynAny basic test manager -// -// = AUTHOR -// Jeff Parsons <parsons@cs.wustl.edu> -// -// ============================================================================ - -#if !defined (TEST_WRAPPER_CPP) -#define TEST_WRAPPER_CPP - -#include "test_wrapper.h" -#include "ace/OS.h" - -// Constructor -template <class T> -Test_Wrapper<T>::Test_Wrapper (T* t) - : test_object_ (t) -{ -} - -// Destructor -template <class T> -Test_Wrapper<T>::~Test_Wrapper (void) -{ - delete this->test_object_; -} - -template <class T> -int -Test_Wrapper<T>::run_test (void) -{ - const char* test_name = this->test_object_->test_name (); - - ACE_DEBUG ((LM_DEBUG, - "********************* %s *******************\n\n", - test_name)); - - if (this->test_object_->run_test () == -1) - { - ACE_ERROR ((LM_ERROR, - "(%N:%l) test_wrapper.cpp - run_test:" - "run_test exception in %s", - test_name)); - - return -1; - } - - return 0; -} - -#endif /* TEST_WRAPPER_CPP */ |