summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/Destroy/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/Destroy/main.cpp')
-rw-r--r--TAO/orbsvcs/tests/Notify/Destroy/main.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/TAO/orbsvcs/tests/Notify/Destroy/main.cpp b/TAO/orbsvcs/tests/Notify/Destroy/main.cpp
deleted file mode 100644
index 09944124843..00000000000
--- a/TAO/orbsvcs/tests/Notify/Destroy/main.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
-//$Id$
-
-#include "../lib/Notify_Test_Client.h"
-#include "orbsvcs/NotifyExtC.h"
-#include "ace/OS_main.h"
-
-int
-ACE_TMAIN (int argc, char *argv[])
-{
- ACE_TRY_NEW_ENV
- {
- // Initialize the base class.
- Notify_Test_Client client;
- client.init (argc, argv ACE_ENV_ARG_PARAMETER);
- ACE_CHECK_RETURN (-1);
-
- CosNotifyChannelAdmin::EventChannelFactory_ptr ecf = client.notify_factory ();
-
- NotifyExt::EventChannelFactory_var ecf_ext = NotifyExt::EventChannelFactory::_narrow (ecf);
-
- ACE_DEBUG((LM_DEBUG, "Destroying ECF...\n"));
-
- ecf_ext->destroy (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
-
- ACE_DEBUG((LM_DEBUG, "ECF destroyed.\n"));
- }
- ACE_CATCHANY
- {
- ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, ACE_TEXT("Error: \n"));
- return 1;
- }
- ACE_ENDTRY;
-
- return 0;
-}