Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::component::client::ClientWithLogReceiverTest Class Reference

Inheritance diagram for alma::acs::component::client::ClientWithLogReceiverTest:

Inheritance graph
[legend]
Collaboration diagram for alma::acs::component::client::ClientWithLogReceiverTest:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ClientWithLogReceiverTest () throws Exception
void testInitialized ()
void testLogQueueNoDelay () throws Exception
void testLogCapture () throws Exception

Protected Member Functions

void setUp () throws Exception
void tearDown () throws Exception

Private Attributes

LogReceiver logReceiver

Detailed Description

Tests the alma.acs.logging.engine.LogReceiver obtained from alma.acs.component.client.ComponentClientTestCase#getLogReceiver().

Author:
hsommer created 29.04.2006 10:27:51


Constructor & Destructor Documentation

alma::acs::component::client::ClientWithLogReceiverTest::ClientWithLogReceiverTest  )  throws Exception [inline]
 


Member Function Documentation

void alma::acs::component::client::ClientWithLogReceiverTest::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.

void alma::acs::component::client::ClientWithLogReceiverTest::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.

void alma::acs::component::client::ClientWithLogReceiverTest::testInitialized  )  [inline]
 

The log receiver is supposed to be initialized, since LogReceiver#initialize(org.omg.CORBA.ORB, si.ijs.maci.Manager)

void alma::acs::component::client::ClientWithLogReceiverTest::testLogCapture  )  throws Exception [inline]
 

void alma::acs::component::client::ClientWithLogReceiverTest::testLogQueueNoDelay  )  throws Exception [inline]
 

Logs a single record and waits for it to come back from the Log service and to pass the queue (which is set to zero delay). Then the record is verified, and the same test is repeated a couple of times with different log records.

Exceptions:
Exception 


Member Data Documentation

LogReceiver alma::acs::component::client::ClientWithLogReceiverTest::logReceiver [private]
 

Reimplemented from alma::acs::component::client::ComponentClientTestCase.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:52:18 2009 for ACS Java API by doxygen 1.3.8