diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-03-09 07:08:18 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-03-09 07:08:18 +0000 |
commit | 957681064207962c8e33263c7ebebbb4a83f7af0 (patch) | |
tree | d28e87f0be723cf1eed7e0f52298d8153fc8f4cd /TAO/tests/DynAny_Test/test_wrapper.cpp | |
parent | 1eeb03769ad41dd4bc5ac7d438cc98680ef55059 (diff) | |
download | ATCD-ACE-4_6_27.tar.gz |
This commit was manufactured by cvs2svn to create tag 'ACE-4_6_27'.ACE-4_6_27
Diffstat (limited to 'TAO/tests/DynAny_Test/test_wrapper.cpp')
-rw-r--r-- | TAO/tests/DynAny_Test/test_wrapper.cpp | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/TAO/tests/DynAny_Test/test_wrapper.cpp b/TAO/tests/DynAny_Test/test_wrapper.cpp deleted file mode 100644 index 61415f60fef..00000000000 --- a/TAO/tests/DynAny_Test/test_wrapper.cpp +++ /dev/null @@ -1,61 +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 <jp4@cs.wustl.edu> -// -// ============================================================================ - -#if !defined (TEST_WRAPPER_CPP) -#define TEST_WRAPPER_CPP - -#include "test_wrapper.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 */ |