

Public Member Functions | |
| ClientPendingReplyTimeoutTest () throws Exception | |
| void | testClientPendingReplyTimeout () throws Exception |
Protected Member Functions | |
| void | setUp () throws Exception |
| void | tearDown () throws Exception |
Private Attributes | |
| DummyComponent | dummyComponent |
| JconttestUtil | jconttestUtil |
Static Private Attributes | |
| static final String | DUMMYCOMP_TYPENAME = "IDL:alma/jconttest/DummyComponent:1.0" |
Tests the effect of the jacorb.connection.client.pending_reply_timeout property setting on clients which, unlike containers, don't apply additional timeout settings from CDB or elsewhere. Requires ACS runtime with a remote container.
| alma::acs::container::corba::ClientPendingReplyTimeoutTest::ClientPendingReplyTimeoutTest | ( | ) | throws Exception [inline] |
| void alma::acs::container::corba::ClientPendingReplyTimeoutTest::setUp | ( | ) | throws Exception [inline, protected] |
Starts CORBA in the client process and connects to the manager and logger.
Subclasses that override this method must call super.setUp(), likely before any other code in that method.
Reimplemented from alma::acs::component::client::ComponentClientTestCase.
References alma::acs::component::client::ComponentClientTestCase::getContainerServices(), and jconttestUtil.
| void alma::acs::container::corba::ClientPendingReplyTimeoutTest::tearDown | ( | ) | throws Exception [inline, protected] |
Releases all previously obtained components (using manager), logs out from the manager, and terminates the CORBA ORB.
Subclasses that override this method must call super.tearDown(), likely after any other code in that method.
Reimplemented from alma::acs::component::client::ComponentClientTestCase.
References alma::acs::component::client::ComponentClientTestCase::m_logger.
| void alma::acs::container::corba::ClientPendingReplyTimeoutTest::testClientPendingReplyTimeout | ( | ) | throws Exception [inline] |
Tests the client-side Corba timeout. Since this client is a JUnit test, the system-level ORB timeout should apply, regardless of any timeout setting for the container whose component we call.
References DUMMYCOMP_TYPENAME, dummyComponent, alma::acs::component::client::ComponentClientTestCase::getContainerServices(), alma::acs::container::ContainerServices::getDefaultComponent(), alma::acs::util::StopWatch::getLapTimeMillis(), alma::jconttest::util::JconttestUtil::getSystemLevelOrbTimeoutMillis(), and jconttestUtil.
final String alma::acs::container::corba::ClientPendingReplyTimeoutTest::DUMMYCOMP_TYPENAME = "IDL:alma/jconttest/DummyComponent:1.0" [static, private] |
Referenced by testClientPendingReplyTimeout().
DummyComponent alma::acs::container::corba::ClientPendingReplyTimeoutTest::dummyComponent [private] |
Referenced by testClientPendingReplyTimeout().
Referenced by setUp(), and testClientPendingReplyTimeout().
1.6.2