FileDocCategorySizeDatePackage
TestCase3.javaAPI DocApache log4j 1.2.151688Sat Aug 25 00:09:34 BST 2007org.apache.log4j.defaultInit

TestCase3

public class TestCase3 extends TestCase

Fields Summary
Constructors Summary
public TestCase3(String name)

    super(name);
  
Methods Summary
public voidpropertiesTest()

    Logger root = Logger.getRootLogger();
    boolean rootIsConfigured = root.getAllAppenders().hasMoreElements();
    assertTrue(rootIsConfigured);
    Enumeration e = root.getAllAppenders();
    Appender appender = (Appender) e.nextElement();
    assertEquals(appender.getName(), "D3");
  
public voidsetUp()

  
public static junit.framework.Testsuite()

    TestSuite suite = new TestSuite();
    suite.addTest(new TestCase3("propertiesTest"));
    return suite;
  
public voidtearDown()

    LogManager.shutdown();