alma::acs::container::corba::ContainerMonitorTest Class Reference

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

List of all members.

Public Member Functions

 ContainerMonitorTest (String name) throws Exception
void testStress () throws Exception

Protected Member Functions

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

Private Attributes

DummyComponent comp = null
RemoteThreadsClient rtc = null
RemoteThreadsMBean mbean = null
int max_threads = 0
int min_threads = 0
final String DUMMYCOMP_TYPENAME = "IDL:alma/jconttest/DummyComponent:1.0"
final String MAX_PROP = "jacorb.poa.thread_pool_max"
final String MIN_PROP = "jacorb.poa.thread_pool_min"
int MAX_ITERATIONS = 100
volatile int[][] acsThreads = null
volatile int[][] jacorbThreads = null
volatile int acs = 0
volatile int jacorb = 0

Detailed Description

JUnit test class for testing the alma.acs.monitoring.RemoteThreadsMBean work over an ACS Container

Author:
rtobar Created on Feb 25, 2008, 7:35:10 PM

Constructor & Destructor Documentation

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

Member Function Documentation

void alma::acs::container::corba::ContainerMonitorTest::setUp (  )  throws Exception [inline, protected]
void alma::acs::container::corba::ContainerMonitorTest::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 acsThreads, jacorbThreads, alma::acs::component::client::ComponentClientTestCase::m_logger, MAX_ITERATIONS, and max_threads.

void alma::acs::container::corba::ContainerMonitorTest::testStress (  )  throws Exception [inline]

Member Data Documentation

Referenced by testStress().

Referenced by setUp(), tearDown(), and testStress().

Referenced by setUp(), and testStress().

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

Referenced by setUp().

Referenced by testStress().

Referenced by setUp(), tearDown(), and testStress().

Referenced by setUp(), tearDown(), and testStress().

final String alma::acs::container::corba::ContainerMonitorTest::MAX_PROP = "jacorb.poa.thread_pool_max" [private]

Referenced by setUp().

Referenced by setUp(), tearDown(), and testStress().

Referenced by setUp(), and testStress().

final String alma::acs::container::corba::ContainerMonitorTest::MIN_PROP = "jacorb.poa.thread_pool_min" [private]

Referenced by setUp().

Referenced by setUp(), and testStress().

Referenced by setUp().


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

Generated by  doxygen 1.6.2