diff options
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Dynamic/client.cpp')
-rw-r--r-- | TAO/tests/Portable_Interceptors/Dynamic/client.cpp | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/TAO/tests/Portable_Interceptors/Dynamic/client.cpp b/TAO/tests/Portable_Interceptors/Dynamic/client.cpp index c3d906faeb3..68a5a30416e 100644 --- a/TAO/tests/Portable_Interceptors/Dynamic/client.cpp +++ b/TAO/tests/Portable_Interceptors/Dynamic/client.cpp @@ -48,21 +48,18 @@ run_test (Test_Interceptors::Visual_ptr server server->normal (10, msg.out () ACE_ENV_ARG_PARAMETER); - ACE_CHECK; CORBA::Long one = 1, two = 1, result = 0; result = server->calculate (one, two ACE_ENV_ARG_PARAMETER); - ACE_CHECK; ACE_DEBUG ((LM_DEBUG, "calculate() result = %d\n", result)); Test_Interceptors::Visual::VarLenStruct_var v = - server->the_structure (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; + server->the_structure (); ACE_DEBUG ((LM_DEBUG, "the_structure() result is:\n" @@ -73,19 +70,17 @@ run_test (Test_Interceptors::Visual_ptr server ACE_TRY { - server->user (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; + server->user (); } ACE_CATCH (Test_Interceptors::Silly, userex) { ACE_DEBUG ((LM_DEBUG, "Caught Silly\n")); } ACE_ENDTRY; - ACE_CHECK; ACE_TRY_EX (SYS) { - server->system (ACE_ENV_SINGLE_ARG_PARAMETER); + server->system (); ACE_TRY_CHECK_EX (SYS); } ACE_CATCH (CORBA::INV_OBJREF, sysex) @@ -93,7 +88,6 @@ run_test (Test_Interceptors::Visual_ptr server ACE_DEBUG ((LM_DEBUG, "Caught CORBA::INV_OBJREF\n")); } ACE_ENDTRY; - ACE_CHECK; } int @@ -113,23 +107,19 @@ main (int argc, char *argv[]) PortableInterceptor::register_orb_initializer (orb_initializer.in () ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; #endif /* TAO_HAS_INTERCEPTORS == 1 */ CORBA::ORB_var orb = 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 ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; Test_Interceptors::Visual_var server = Test_Interceptors::Visual::_narrow (object.in () ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; if (CORBA::is_nil (server.in ())) { @@ -141,8 +131,7 @@ main (int argc, char *argv[]) run_test (server.in () ACE_ENV_ARG_PARAMETER); - server->shutdown (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; + server->shutdown (); } ACE_CATCHANY { |