alma::acs::container::corba::ContainerClientPendingReplyTimeoutTest Class Reference

Inheritance diagram for alma::acs::container::corba::ContainerClientPendingReplyTimeoutTest:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::container::corba::ContainerClientPendingReplyTimeoutTest:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

alma::acs::container::corba::ContainerClientPendingReplyTimeoutTest::ContainerClientPendingReplyTimeoutTest (  )  throws Exception [inline]

Member Function Documentation

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.

See also:
junit.framework.TestCase::setUp()

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.

See also:
junit.framework.TestCase::tearDown()

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.


Member Data Documentation

Referenced by setUp(), and testOrbLevelTimeout().

Referenced by setUp(), and testOrbLevelTimeout().

Referenced by setUp().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2