diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-03-29 15:50:18 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-03-29 15:50:18 +0000 |
commit | 6840c49b54775c5bea175b2ba343d10150c30996 (patch) | |
tree | 90d29c0c54cbd246ca891ba62e0c059e6c041132 /TAO/tests/Client_Leaks | |
parent | 257c41408cd1e5b946db587b938645bfcb458e60 (diff) | |
download | ATCD-6840c49b54775c5bea175b2ba343d10150c30996.tar.gz |
ChangeLogTag:Thu Mar 29 07:47:48 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/tests/Client_Leaks')
-rw-r--r-- | TAO/tests/Client_Leaks/Client_Task.cpp | 2 | ||||
-rw-r--r-- | TAO/tests/Client_Leaks/Process_Factory.cpp | 6 | ||||
-rw-r--r-- | TAO/tests/Client_Leaks/Process_Factory.h | 3 | ||||
-rw-r--r-- | TAO/tests/Client_Leaks/Test.idl | 3 |
4 files changed, 13 insertions, 1 deletions
diff --git a/TAO/tests/Client_Leaks/Client_Task.cpp b/TAO/tests/Client_Leaks/Client_Task.cpp index 61d60e45ba1..bc057b1d6c6 100644 --- a/TAO/tests/Client_Leaks/Client_Task.cpp +++ b/TAO/tests/Client_Leaks/Client_Task.cpp @@ -71,7 +71,7 @@ Client_Task::validate_connection (CORBA::Environment &ACE_TRY_ENV) { for (int i = 0; i != 100; ++i) { - (void) this->process_factory_->_non_existent (ACE_TRY_ENV); + (void) this->process_factory_->noop (ACE_TRY_ENV); ACE_TRY_CHECK; } } diff --git a/TAO/tests/Client_Leaks/Process_Factory.cpp b/TAO/tests/Client_Leaks/Process_Factory.cpp index 6c3a83fac70..b85a95e1afb 100644 --- a/TAO/tests/Client_Leaks/Process_Factory.cpp +++ b/TAO/tests/Client_Leaks/Process_Factory.cpp @@ -104,6 +104,12 @@ Process_Factory::create_new_process (CORBA::Environment &ACE_TRY_ENV) } void +Process_Factory::shutdown (CORBA::Environment &) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ +} + +void Process_Factory::shutdown (CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { diff --git a/TAO/tests/Client_Leaks/Process_Factory.h b/TAO/tests/Client_Leaks/Process_Factory.h index c0e6aef8fbc..728ebb0d8f2 100644 --- a/TAO/tests/Client_Leaks/Process_Factory.h +++ b/TAO/tests/Client_Leaks/Process_Factory.h @@ -31,6 +31,9 @@ public: virtual Test::Process_ptr create_new_process (CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException,Test::Spawn_Failed)); + virtual void noop (CORBA::Environment &ACE_TRY_ENV) + ACE_THROW_SPEC ((CORBA::SystemException)); + virtual void shutdown (CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)); diff --git a/TAO/tests/Client_Leaks/Test.idl b/TAO/tests/Client_Leaks/Test.idl index bf4d2716f84..c7c4ee2abf2 100644 --- a/TAO/tests/Client_Leaks/Test.idl +++ b/TAO/tests/Client_Leaks/Test.idl @@ -21,6 +21,9 @@ module Test /// Create a new process and return its object reference Process create_new_process () raises (Spawn_Failed); + /// Empty method, used to validate the connection + void noop (); + /// Shutdown the process factory oneway void shutdown (); }; |