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

alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest Class Reference

Collaboration diagram for alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void testMonitorEasy () throws Exception
void testResourceCheckException () throws Exception
void testResourceUnavailable () throws Exception
void testUsageErrorResponse () throws Exception

Protected Member Functions

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

Private Attributes

SubsysResourceMonitor subsysResourceMonitor
Logger logger
CleaningDaemonThreadFactory threadFactory

Static Private Attributes

final int checkDelaySeconds = 5

Detailed Description

Test for SubsysResourceMonitor.
Author:
hsommer


Member Function Documentation

void alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::setUp  )  throws Exception [inline, protected]
 

void alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::tearDown  )  throws Exception [inline, protected]
 

void alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::testMonitorEasy  )  throws Exception [inline]
 

Verifies the regular resource status checks under ideal conditions. Also tests the basic functioning of the test handlers and listeners used by this class.

void alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::testResourceCheckException  )  throws Exception [inline]
 

Tests if resource unreachability is propagated to the client when it is not detected by a timeout in the monitoring framework, but by getting a RuntimeException such as TRANSIENT for a Corba resource.

void alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::testResourceUnavailable  )  throws Exception [inline]
 

Simulates hanging monitor calls, and tests the notification of the error handler, the creation and reuse of threads, the continuation and eventual termination of monitoring calls.

void alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::testUsageErrorResponse  )  throws Exception [inline]
 

Tests whether bad user-supplied parameters are handled gracefully.

Exceptions:
Exception 


Member Data Documentation

final int alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::checkDelaySeconds = 5 [static, private]
 

Logger alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::logger [private]
 

SubsysResourceMonitor alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::subsysResourceMonitor [private]
 

CleaningDaemonThreadFactory alma::ACS::MasterComponentImpl::SubsysResourceMonitorTest::threadFactory [private]
 


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