alma::acs::container::corba::ClientPendingReplyTimeoutTest Class Reference

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

List of all members.

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"

Detailed Description

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.

Author:
rtobar

Constructor & Destructor Documentation

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

Member Function Documentation

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.

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

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.

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::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.


Member Data Documentation

final String alma::acs::container::corba::ClientPendingReplyTimeoutTest::DUMMYCOMP_TYPENAME = "IDL:alma/jconttest/DummyComponent:1.0" [static, private]

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

Generated by  doxygen 1.6.2