summaryrefslogtreecommitdiff
path: root/TAO/tests/IOR_Endpoint_Hostnames
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
commitc801f87e59c00f72bdeb5ce7bd0d276674665bac (patch)
tree70bff03d1cf156ecf05ee4c5c338d8ce423e64ee /TAO/tests/IOR_Endpoint_Hostnames
parent98c0b37d4714ff774fc3ada8c9ee893c719af714 (diff)
downloadATCD-c801f87e59c00f72bdeb5ce7bd0d276674665bac.tar.gz
Wed Jan 24 14:00:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tests/IOR_Endpoint_Hostnames')
-rw-r--r--TAO/tests/IOR_Endpoint_Hostnames/bogus_i.cpp2
-rw-r--r--TAO/tests/IOR_Endpoint_Hostnames/bogus_i.h2
-rw-r--r--TAO/tests/IOR_Endpoint_Hostnames/generate_ior.cpp9
3 files changed, 4 insertions, 9 deletions
diff --git a/TAO/tests/IOR_Endpoint_Hostnames/bogus_i.cpp b/TAO/tests/IOR_Endpoint_Hostnames/bogus_i.cpp
index 7e876ea57c8..e9694858821 100644
--- a/TAO/tests/IOR_Endpoint_Hostnames/bogus_i.cpp
+++ b/TAO/tests/IOR_Endpoint_Hostnames/bogus_i.cpp
@@ -13,7 +13,7 @@ bogus::~bogus()
}
void
-bogus::noop (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
+bogus::noop (void)
ACE_THROW_SPEC ((CORBA::SystemException))
{
}
diff --git a/TAO/tests/IOR_Endpoint_Hostnames/bogus_i.h b/TAO/tests/IOR_Endpoint_Hostnames/bogus_i.h
index 94a4961f8ff..dceebf65eb0 100644
--- a/TAO/tests/IOR_Endpoint_Hostnames/bogus_i.h
+++ b/TAO/tests/IOR_Endpoint_Hostnames/bogus_i.h
@@ -15,7 +15,7 @@ public:
bogus ();
virtual ~bogus ();
- virtual void noop (ACE_ENV_SINGLE_ARG_DECL)
+ virtual void noop (void)
ACE_THROW_SPEC ((CORBA::SystemException));
};
diff --git a/TAO/tests/IOR_Endpoint_Hostnames/generate_ior.cpp b/TAO/tests/IOR_Endpoint_Hostnames/generate_ior.cpp
index b4058e4deef..1acd35bbb9e 100644
--- a/TAO/tests/IOR_Endpoint_Hostnames/generate_ior.cpp
+++ b/TAO/tests/IOR_Endpoint_Hostnames/generate_ior.cpp
@@ -17,28 +17,23 @@ main (int argc, char *argv[])
ACE_TRY_NEW_ENV
{
CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, "" ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
CORBA::Object_var poa_object =
orb->resolve_initial_references ("RootPOA" ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
PortableServer::POA_var rp =
PortableServer::POA::_narrow(poa_object.in() ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
if (CORBA::is_nil (rp.in()))
ACE_ERROR_RETURN ((LM_ERROR, "(%P|%t) panic: nil root poa\n"), 1);
bogus* bogus_impl = new bogus();
PortableServer::ServantBase_var owner_transfer(bogus_impl);
- Test::bogus_var b = bogus_impl->_this(ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
+ Test::bogus_var b = bogus_impl->_this();
CORBA::String_var ior =
orb->object_to_string (b.in() ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
printf ("%s\n", ior.in());
-
+
orb->shutdown();
orb->destroy();
}