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

alma::contLogTest::TestLogLevelsCompImpl::TestLogLevelsCompTest Class Reference

Collaboration diagram for alma::contLogTest::TestLogLevelsCompImpl::TestLogLevelsCompTest:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TestLogLevelsCompTest () throws Exception
void testGetLevels () throws Exception
void testLoggingConfigurableCentralLogLevels () throws Exception

Static Public Member Functions

void main (String[] args)

Static Public Attributes

final String PROPERTYNAME_COMPONENTNAMES = "TEST_COMP_NAMES"

Protected Member Functions

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

Private Attributes

Set< String > componentNames = new LinkedHashSet<String>()
List< TestLogLevelsCompcomponents
ContainerTestUtil containerTestUtil

Detailed Description

Requires Java component "TESTLOG1" of type alma.contLogTest.TestLogLevelsComp to be running.

Author:
eallaert 30 October 2007


Constructor & Destructor Documentation

alma::contLogTest::TestLogLevelsCompImpl::TestLogLevelsCompTest::TestLogLevelsCompTest  )  throws Exception [inline]
 

Exceptions:
java.lang.Exception 


Member Function Documentation

void alma::contLogTest::TestLogLevelsCompImpl::TestLogLevelsCompTest::main String[]  args  )  [inline, static]
 

void alma::contLogTest::TestLogLevelsCompImpl::TestLogLevelsCompTest::setUp  )  throws Exception [inline, protected]
 

See also:
TestCase#setUp()

void alma::contLogTest::TestLogLevelsCompImpl::TestLogLevelsCompTest::tearDown  )  throws Exception [inline, protected]
 

See also:
TestCase#tearDown()

void alma::contLogTest::TestLogLevelsCompImpl::TestLogLevelsCompTest::testGetLevels  )  throws Exception [inline]
 

Exceptions:
Exception 

void alma::contLogTest::TestLogLevelsCompImpl::TestLogLevelsCompTest::testLoggingConfigurableCentralLogLevels  )  throws Exception [inline]
 

This test uses the LoggingConfigurable interface implemented by all containers to set log levels These log levels are then expected to be independent of the initial CDB settings, according to precedence rules. The test verifies that the levels are applied correctly by commanding the test components to log messages at various log levels. The test listens on the Log service to compare the messages actually sent with what is expected for the current log level settings.


Member Data Documentation

Set<String> alma::contLogTest::TestLogLevelsCompImpl::TestLogLevelsCompTest::componentNames = new LinkedHashSet<String>() [private]
 

List<TestLogLevelsComp> alma::contLogTest::TestLogLevelsCompImpl::TestLogLevelsCompTest::components [private]
 

ContainerTestUtil alma::contLogTest::TestLogLevelsCompImpl::TestLogLevelsCompTest::containerTestUtil [private]
 

final String alma::contLogTest::TestLogLevelsCompImpl::TestLogLevelsCompTest::PROPERTYNAME_COMPONENTNAMES = "TEST_COMP_NAMES" [static]
 


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