alma::acs::container::corba::ThreadDelayTest Class Reference

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

List of all members.

Classes

class  ClientThread

Public Member Functions

 ThreadDelayTest (String name) throws Exception
void testThreadDelays () throws Exception

Protected Member Functions

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

Private Attributes

Thread[] myThreads
DataReceiver dataReceiver
final String DUMMY_COMPTYPE = "IDL:alma/jconttest/DataReceiver:1.0"
final int MAX_THREADS = 100
final int MAX_LOOPS = 100
FileWriter fileWriter

Detailed Description

Author:
rtobar Created on Feb 25, 2008, 11:21:30 PM

Constructor & Destructor Documentation

alma::acs::container::corba::ThreadDelayTest::ThreadDelayTest ( String  name  )  throws Exception [inline]

Member Function Documentation

void alma::acs::container::corba::ThreadDelayTest::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 dataReceiver, DUMMY_COMPTYPE, fileWriter, alma::acs::component::client::ComponentClientTestCase::getContainerServices(), alma::acs::container::ContainerServices::getDefaultComponent(), MAX_THREADS, and myThreads.

void alma::acs::container::corba::ThreadDelayTest::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 dataReceiver.

void alma::acs::container::corba::ThreadDelayTest::testThreadDelays (  )  throws Exception [inline]

References dataReceiver, fileWriter, and myThreads.


Member Data Documentation

final String alma::acs::container::corba::ThreadDelayTest::DUMMY_COMPTYPE = "IDL:alma/jconttest/DataReceiver:1.0" [private]

Referenced by setUp().

Referenced by setUp().

Referenced by setUp(), and testThreadDelays().


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

Generated by  doxygen 1.6.2