summaryrefslogtreecommitdiff
path: root/TAO/tests/Exposed_Policies/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Exposed_Policies/server.cpp')
-rw-r--r--TAO/tests/Exposed_Policies/server.cpp50
1 files changed, 0 insertions, 50 deletions
diff --git a/TAO/tests/Exposed_Policies/server.cpp b/TAO/tests/Exposed_Policies/server.cpp
deleted file mode 100644
index ecc7d20d022..00000000000
--- a/TAO/tests/Exposed_Policies/server.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-//$Id$
-
-////////////////////////////////////////////////////////////////////////
-// This files tests the Client exposed policies:
-// - PriorityModelPolicy
-// - PriorityBandedConnectionPolicy
-// - ClientProtocolPolicy
-//
-// This policies are embedded in the object reference, by writem
-// them into the IOR.
-//
-//
-// -- App. Specific Include --
-#include "Policy_Tester.h"
-
-#include "tao/Strategies/advanced_resource.h"
-
-ACE_RCSID(tao, server, "$Id$")
-
-
-int
-main (int argc, char *argv[])
-{
- ACE_DECLARE_NEW_CORBA_ENV;
-
- ACE_TRY
- {
- Policy_Tester policy_tester;
-
- int result = policy_tester.init (argc, argv ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
-
- if (result != 0)
- return result;
-
- policy_tester.run (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
- }
-
- ACE_CATCHANY
- {
- ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,
- ACE_TEXT ("CORBA Exception Raised."));
- return 1;
- }
-
- ACE_ENDTRY;
-
- return 0;
-}