summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/Dynamic/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Dynamic/client.cpp')
-rw-r--r--TAO/tests/Portable_Interceptors/Dynamic/client.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/TAO/tests/Portable_Interceptors/Dynamic/client.cpp b/TAO/tests/Portable_Interceptors/Dynamic/client.cpp
index 0e927949c71..ba7cc997692 100644
--- a/TAO/tests/Portable_Interceptors/Dynamic/client.cpp
+++ b/TAO/tests/Portable_Interceptors/Dynamic/client.cpp
@@ -39,15 +39,15 @@ parse_args (int argc, char *argv[])
void
run_test (Test_Interceptors::Visual_ptr server
- TAO_ENV_ARG_DECL)
+ ACE_ENV_ARG_DECL)
{
- server->normal (10 TAO_ENV_ARG_PARAMETER);
+ server->normal (10 ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
CORBA::Long one = 1, two = 1, result = 0;
result = server->calculate (one,
two
- TAO_ENV_ARG_PARAMETER);
+ ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
ACE_DEBUG ((LM_DEBUG,
@@ -57,7 +57,7 @@ run_test (Test_Interceptors::Visual_ptr server
ACE_TRY
{
- server->user (TAO_ENV_SINGLE_ARG_PARAMETER);
+ server->user (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
}
ACE_CATCH (Test_Interceptors::Silly, userex)
@@ -69,7 +69,7 @@ run_test (Test_Interceptors::Visual_ptr server
ACE_TRY_EX (SYS)
{
- server->system (TAO_ENV_SINGLE_ARG_PARAMETER);
+ server->system (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK_EX (SYS);
}
ACE_CATCH (CORBA::INV_OBJREF, sysex)
@@ -94,22 +94,22 @@ main (int argc, char *argv[])
temp_initializer;
PortableInterceptor::register_orb_initializer (orb_initializer.in ()
- TAO_ENV_ARG_PARAMETER);
+ ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
CORBA::ORB_var orb =
- CORBA::ORB_init (argc, argv, "" TAO_ENV_ARG_PARAMETER);
+ CORBA::ORB_init (argc, argv, "" ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
if (parse_args (argc, argv) != 0)
return 1;
CORBA::Object_var object =
- orb->string_to_object (ior TAO_ENV_ARG_PARAMETER);
+ orb->string_to_object (ior ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
Test_Interceptors::Visual_var server =
- Test_Interceptors::Visual::_narrow (object.in () TAO_ENV_ARG_PARAMETER);
+ Test_Interceptors::Visual::_narrow (object.in () ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
if (CORBA::is_nil (server.in ()))
@@ -120,9 +120,9 @@ main (int argc, char *argv[])
1);
}
- run_test (server.in () TAO_ENV_ARG_PARAMETER);
+ run_test (server.in () ACE_ENV_ARG_PARAMETER);
- server->shutdown (TAO_ENV_SINGLE_ARG_PARAMETER);
+ server->shutdown (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
}
ACE_CATCHANY