

Public Member Functions | |
| ContainerClientPendingReplyTimeoutTest () throws Exception | |
| void | testOrbLevelTimeout () throws Exception |
Protected Member Functions | |
| void | setUp () throws Exception |
| void | tearDown () throws Exception |
Private Attributes | |
| JconttestUtil | jconttestUtil |
| int | syslevelOrbTimeoutSec |
| int | syslevelOrbTimeoutSecDefault |
| int | syslevelOrbTimeoutSecDefined |
Tests the container timeout which should be given by the CDB attribute Container.Timeout. The system-level corba timeout set through jacorb.connection.client.pending_reply_timeout should not have any effect, since there should always be a (default) timeout even if this container's CDB would not define a timeout explicitly.
| alma::acs::container::corba::ContainerClientPendingReplyTimeoutTest::ContainerClientPendingReplyTimeoutTest | ( | ) | throws Exception [inline] |
References syslevelOrbTimeoutSecDefined.
| void alma::acs::container::corba::ContainerClientPendingReplyTimeoutTest::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(), alma::jconttest::util::JconttestUtil::getSystemLevelOrbTimeoutMillis(), jconttestUtil, syslevelOrbTimeoutSec, syslevelOrbTimeoutSecDefault, and syslevelOrbTimeoutSecDefined.
| void alma::acs::container::corba::ContainerClientPendingReplyTimeoutTest::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::ContainerClientPendingReplyTimeoutTest::testOrbLevelTimeout | ( | ) | throws Exception [inline] |
Tests the client-side relative roundtrip ORB timeout for Java containers "frodoContainerWithTimeoutX". Here the values in the CDB are supposed to override the general ORB timeout setting from orb.properties.
References alma::jconttest::util::JconttestUtil::getContainerLevelOrbTimeout(), alma::acs::component::client::ComponentClientTestCase::getContainerServices(), jconttestUtil, alma::acs::component::client::ComponentClientTestCase::m_logger, syslevelOrbTimeoutSec, and syslevelOrbTimeoutSecDefined.
JconttestUtil alma::acs::container::corba::ContainerClientPendingReplyTimeoutTest::jconttestUtil [private] |
Referenced by setUp(), and testOrbLevelTimeout().
int alma::acs::container::corba::ContainerClientPendingReplyTimeoutTest::syslevelOrbTimeoutSec [private] |
Referenced by setUp(), and testOrbLevelTimeout().
int alma::acs::container::corba::ContainerClientPendingReplyTimeoutTest::syslevelOrbTimeoutSecDefault [private] |
Referenced by setUp().
int alma::acs::container::corba::ContainerClientPendingReplyTimeoutTest::syslevelOrbTimeoutSecDefined [private] |
Referenced by ContainerClientPendingReplyTimeoutTest(), setUp(), and testOrbLevelTimeout().
1.6.2