

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 |
| alma::acs::container::corba::ThreadDelayTest::ThreadDelayTest | ( | String | name | ) | throws Exception [inline] |
| 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.
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.
Reimplemented from alma::acs::component::client::ComponentClientTestCase.
References dataReceiver.
| void alma::acs::container::corba::ThreadDelayTest::testThreadDelays | ( | ) | throws Exception [inline] |
References dataReceiver, fileWriter, and myThreads.
DataReceiver alma::acs::container::corba::ThreadDelayTest::dataReceiver [private] |
Referenced by alma::acs::container::corba::ThreadDelayTest::ClientThread::run(), setUp(), tearDown(), and testThreadDelays().
final String alma::acs::container::corba::ThreadDelayTest::DUMMY_COMPTYPE = "IDL:alma/jconttest/DataReceiver:1.0" [private] |
Referenced by setUp().
FileWriter alma::acs::container::corba::ThreadDelayTest::fileWriter [private] |
Referenced by alma::acs::container::corba::ThreadDelayTest::ClientThread::run(), setUp(), and testThreadDelays().
final int alma::acs::container::corba::ThreadDelayTest::MAX_LOOPS = 100 [private] |
final int alma::acs::container::corba::ThreadDelayTest::MAX_THREADS = 100 [private] |
Referenced by setUp().
Thread [] alma::acs::container::corba::ThreadDelayTest::myThreads [private] |
Referenced by setUp(), and testThreadDelays().
1.6.2