summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Redundant_Naming
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-01-24 15:39:09 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-01-24 15:39:09 +0000
commitb273c8bbb2bb98b5b862d1ce24855ae207b4eb0c (patch)
tree70bff03d1cf156ecf05ee4c5c338d8ce423e64ee /TAO/orbsvcs/tests/Redundant_Naming
parentd43378e7d80d7db5bb3517e16b858fb09b117007 (diff)
downloadATCD-b273c8bbb2bb98b5b862d1ce24855ae207b4eb0c.tar.gz
Wed Jan 24 14:00:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/orbsvcs/tests/Redundant_Naming')
-rw-r--r--TAO/orbsvcs/tests/Redundant_Naming/client.cpp20
1 files changed, 6 insertions, 14 deletions
diff --git a/TAO/orbsvcs/tests/Redundant_Naming/client.cpp b/TAO/orbsvcs/tests/Redundant_Naming/client.cpp
index 9e767cc7dad..070a8d06e7f 100644
--- a/TAO/orbsvcs/tests/Redundant_Naming/client.cpp
+++ b/TAO/orbsvcs/tests/Redundant_Naming/client.cpp
@@ -48,7 +48,7 @@ public:
ACE_THROW_SPEC ((CORBA::SystemException));
// Sets id.
- CORBA::Short id (ACE_ENV_SINGLE_ARG_DECL)
+ CORBA::Short id (void)
ACE_THROW_SPEC ((CORBA::SystemException));
// Gets id.
@@ -66,7 +66,7 @@ My_Test_Object::~My_Test_Object (void)
}
CORBA::Short
-My_Test_Object::id (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
+My_Test_Object::id (void)
ACE_THROW_SPEC ((CORBA::SystemException))
{
return id_;
@@ -197,7 +197,6 @@ main (int argc, ACE_TCHAR **argv)
return -1;
}
ACE_ENDTRY;
- ACE_CHECK_RETURN (-1);
// Create a bunch of objects in one context
// Note: strings to the naming service must be char, not wchar
@@ -215,9 +214,9 @@ main (int argc, ACE_TCHAR **argv)
{
// Instantiate a dummy object and bind it under the new context.
My_Test_Object *impl1 = new My_Test_Object (i+1);
- Test_Object_var obj1 = impl1->_this (ACE_ENV_SINGLE_ARG_PARAMETER);
+ Test_Object_var obj1 = impl1->_this ();
ACE_TRY_CHECK_EX(bl_b);
- impl1->_remove_ref (ACE_ENV_SINGLE_ARG_PARAMETER);
+ impl1->_remove_ref ();
ACE_TRY_CHECK_EX(bl_b);
CosNaming::Name obj_name;
@@ -238,7 +237,6 @@ main (int argc, ACE_TCHAR **argv)
return -1;
}
ACE_ENDTRY;
- ACE_CHECK_RETURN (-1);
// Create a deep context tree
ACE_TRY_EX(bl_c)
@@ -266,7 +264,6 @@ main (int argc, ACE_TCHAR **argv)
return -1;
}
ACE_ENDTRY;
- ACE_CHECK_RETURN (-1);
// Create a wide context tree
ACE_TRY_EX(bl_d)
@@ -292,7 +289,6 @@ main (int argc, ACE_TCHAR **argv)
return -1;
}
ACE_ENDTRY;
- ACE_CHECK_RETURN (-1);
// Delete three selected things, one from each tree
ACE_TRY_EX(bl_e)
@@ -324,7 +320,7 @@ main (int argc, ACE_TCHAR **argv)
ACE_TEXT ("Problems with resolving wide context ")
ACE_TEXT ("- nil object ref.\n")),
-1);
- result_object->destroy(ACE_ENV_SINGLE_ARG_PARAMETER);
+ result_object->destroy();
ACE_TRY_CHECK_EX(bl_e);
root_context_1->unbind (wide2 ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK_EX(bl_e);
@@ -349,7 +345,7 @@ main (int argc, ACE_TCHAR **argv)
ACE_TEXT ("Problems with resolving deep context ")
ACE_TEXT ("- nil object ref.\n")),
-1);
- result_object->destroy(ACE_ENV_SINGLE_ARG_PARAMETER);
+ result_object->destroy();
ACE_TRY_CHECK_EX(bl_e);
root_context_1->unbind (deep ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK_EX(bl_e);
@@ -362,7 +358,6 @@ main (int argc, ACE_TCHAR **argv)
return -1;
}
ACE_ENDTRY;
- ACE_CHECK_RETURN (-1);
// Now use the other name server to access 3 objects next to the
// deleted objects and the 3 deleted objects
@@ -395,7 +390,6 @@ main (int argc, ACE_TCHAR **argv)
return -1;
}
ACE_ENDTRY;
- ACE_CHECK_RETURN (-1);
ACE_TRY_EX(bl_g)
{
@@ -449,7 +443,6 @@ main (int argc, ACE_TCHAR **argv)
return -1;
}
ACE_ENDTRY;
- ACE_CHECK_RETURN (-1);
ACE_TRY_EX(bl_i)
{
@@ -532,7 +525,6 @@ main (int argc, ACE_TCHAR **argv)
return -1;
}
ACE_ENDTRY;
- ACE_CHECK_RETURN (-1);
ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("Redundancy test OK\n")));
return 0;