|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.qos.logback.core.rolling.TimeBasedRollingTest
public class TimeBasedRollingTest
A rather exhaustive set of tests. Tests include leaving the file option blank, or setting it, with and without compression, and tests with or without stopping/restarting the RollingFileAppender. The regression tests log a few times using a RollingFileAppender. Then, they predict the names of the files which should be generated and compare them with witness files.
Compression file option Stop/Restart Test1 NO BLANK NO Test2 NO BLANK YES Test3 YES BLANK NO Test4 NO SET YES Test5 NO SET NO Test6 YES SET NO
Constructor Summary | |
---|---|
TimeBasedRollingTest()
|
Method Summary | |
---|---|
void |
noCompression_FileBlank_NoRestart_1()
Test rolling without compression, file option left blank, no stop/start |
void |
noCompression_FileBlank_StopRestart_2()
No compression, file option left blank, with stop/restart, |
void |
noCompression_FileSet_NoRestart_5()
No compression, file option set, without stop/restart |
void |
noCompression_FileSet_StopRestart_4()
Without compression, file option set, with stop/restart |
void |
noCompression_FileSet_StopRestart_WithLongWait_4B()
|
void |
setUp()
|
void |
tearDown()
|
void |
withCompression_FileBlank_NoRestart_3()
With compression, file option left blank, no stop/restart |
void |
withCompression_FileSet_NoRestart_6()
With compression, file option set, no stop/restart, |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeBasedRollingTest()
Method Detail |
---|
public void setUp()
public void tearDown()
public void noCompression_FileBlank_NoRestart_1() throws Exception
Exception
public void noCompression_FileBlank_StopRestart_2() throws Exception
Exception
public void withCompression_FileBlank_NoRestart_3() throws Exception
Exception
public void noCompression_FileSet_StopRestart_4() throws Exception
Exception
public void noCompression_FileSet_StopRestart_WithLongWait_4B() throws Exception
Exception
public void noCompression_FileSet_NoRestart_5() throws Exception
Exception
public void withCompression_FileSet_NoRestart_6() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |