|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.log4j.rolling.SizeBasedRollingTest
public class SizeBasedRollingTest
Do not forget to call activateOptions when configuring programatically.
Constructor Summary | |
---|---|
SizeBasedRollingTest(java.lang.String name)
|
Method Summary | |
---|---|
void |
setUp()
|
void |
tearDown()
|
void |
test1()
Tests that the lack of an explicit active file will use the low index as the active file. |
void |
test2()
Test basic rolling functionality with explicit setting of FileAppender.file. |
void |
test3()
Same as testBasic but also with GZ compression. |
void |
test4()
Test basic rolling functionality with bogus path in file name pattern. |
void |
test5()
Checking handling of rename failures due to other access to the indexed files. |
void |
test6()
Deprecated. Tests deprecated method |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SizeBasedRollingTest(java.lang.String name)
Method Detail |
---|
public void setUp()
setUp
in class junit.framework.TestCase
public void tearDown()
tearDown
in class junit.framework.TestCase
public void test1() throws java.lang.Exception
java.lang.Exception
public void test2() throws java.lang.Exception
java.lang.Exception
public void test3() throws java.lang.Exception
java.lang.Exception
public void test4() throws java.lang.Exception
java.lang.Exception
public void test5() throws java.lang.Exception
java.lang.Exception
public void test6() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras Companion for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.