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< TestLogLevelsComp > | components |
ContainerTestUtil | containerTestUtil |
alma.contLogTest.TestLogLevelsComp
to be running.
|
|
|
|
|
|
|
|
|
|
|
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. |
|
|
|
|
|
|
|
|