diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Event/Basic/Shutdown.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/Event/Basic/Shutdown.cpp | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/TAO/orbsvcs/tests/Event/Basic/Shutdown.cpp b/TAO/orbsvcs/tests/Event/Basic/Shutdown.cpp deleted file mode 100644 index a48b369219d..00000000000 --- a/TAO/orbsvcs/tests/Event/Basic/Shutdown.cpp +++ /dev/null @@ -1,82 +0,0 @@ -// $Id$ - -#include "Shutdown.h" -#include "Consumer.h" -#include "Supplier.h" - -ACE_RCSID(EC_Tests_Basic, Shutdown, "$Id$") - -int -main (int argc, char *argv []) -{ - EC_Shutdown driver; - return driver.run (argc, argv); -} - -// **************************************************************** - -EC_Shutdown::EC_Shutdown (void) -{ -} - -void -EC_Shutdown::execute_test (CORBA::Environment& ACE_TRY_ENV) -{ - if (this->verbose ()) - ACE_DEBUG ((LM_DEBUG, "EC_Shutdown (%P|%t) destroying EC\n")); - - this->destroy_ec (ACE_TRY_ENV); - ACE_CHECK; - - if (this->verbose ()) - ACE_DEBUG ((LM_DEBUG, "EC_Shutdown (%P|%t) ec destroyed\n")); - - this->deactivate_ec (ACE_TRY_ENV); - ACE_CHECK; - - if (this->verbose ()) - ACE_DEBUG ((LM_DEBUG, "EC_Shutdown (%P|%t) ec deactivated\n")); - - this->cleanup_ec (); - - if (this->verbose ()) - ACE_DEBUG ((LM_DEBUG, "EC_Shutdown (%P|%t) ec cleanup\n")); - - this->initialize_ec_impl (ACE_TRY_ENV); - ACE_CHECK; - this->connect_consumers (ACE_TRY_ENV); - ACE_CHECK; - this->connect_suppliers (ACE_TRY_ENV); - ACE_CHECK; - if (this->verbose ()) - ACE_DEBUG ((LM_DEBUG, "EC_Shutdown (%P|%t) status reset\n")); - - // this->EC_Driver::execute_test (ACE_TRY_ENV); -} - -void -EC_Shutdown::dump_results (void) -{ -} - -void -EC_Shutdown::consumer_disconnect (void* cookie, - CORBA::Environment&) -{ - ACE_DEBUG ((LM_DEBUG, "Consumer %x has been disconnected\n", cookie)); -} - -void -EC_Shutdown::supplier_disconnect (void* cookie, - CORBA::Environment&) -{ - ACE_DEBUG ((LM_DEBUG, "Supplier %x has been disconnected\n", cookie)); -} - - - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ |