FileDocCategorySizeDatePackage
LogManagerTest.javaAPI DocApache log4j 1.2.152291Sat Aug 25 00:09:34 BST 2007org.apache.log4j

LogManagerTest

public class LogManagerTest extends TestCase
Tests for LogManager
author
Curt Arnold

Fields Summary
Constructors Summary
public LogManagerTest(String testName)
Create new instance of LogManagerTest.

param
testName test name

    super(testName);
  
Methods Summary
public voidtestConfiguratorClassKey()
Check value of CONFIGURATOR_CLASS_KEY.

deprecated
since constant is deprecated

     assertEquals("log4j.configuratorClass", LogManager.CONFIGURATOR_CLASS_KEY);
  
public voidtestDefaultConfigurationFile()
Check value of DEFAULT_CONFIGURATION_FILE.

deprecated
since constant is deprecated

     assertEquals("log4j.properties", LogManager.DEFAULT_CONFIGURATION_FILE);
  
public voidtestDefaultConfigurationKey()
Check value of DEFAULT_CONFIGURATION_KEY.

deprecated
since constant is deprecated

     assertEquals("log4j.configuration", LogManager.DEFAULT_CONFIGURATION_KEY);
  
public voidtestDefaultInitOverrideKey()
Check value of DEFAULT_INIT_OVERRIDE_KEY.

deprecated
since constant is deprecated

     assertEquals("log4j.defaultInitOverride", LogManager.DEFAULT_INIT_OVERRIDE_KEY);
  
public voidtestDefaultXmlConfigurationFile()
Check value of DEFAULT_XML_CONFIGURATION_FILE.

     assertEquals("log4j.xml", LogManager.DEFAULT_XML_CONFIGURATION_FILE);