public class SizeBasedRollingTest
extends junit.framework.TestCase
Constructor and Description |
---|
SizeBasedRollingTest(String name) |
Modifier and Type | Method and Description |
---|---|
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
|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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
public SizeBasedRollingTest(String name)
public void setUp()
setUp
in class junit.framework.TestCase
public void tearDown()
tearDown
in class junit.framework.TestCase
public void test1() throws Exception
Exception
public void test2() throws Exception
Exception
public void test3() throws Exception
Exception
public void test4() throws Exception
Exception
public void test5() throws Exception
Exception
Copyright © 2013 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.