ch.qos.logback.core.rolling
Class SizeBasedRollingTest

java.lang.Object
  extended by ch.qos.logback.core.rolling.SizeBasedRollingTest

public class SizeBasedRollingTest
extends Object

Do not forget to call start() when configuring programatically.

Author:
Ceki Gülcü, Sébastien Pennec

Constructor Summary
SizeBasedRollingTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void test1()
          Test whether FixedWindowRollingPolicy throws an exception when the ActiveFileName is not set.
 void test2()
          Test basic rolling functionality.
 void test3()
          Same as testBasic but also with GZ compression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SizeBasedRollingTest

public SizeBasedRollingTest()
Method Detail

setUp

public void setUp()

tearDown

public void tearDown()

test1

public void test1()
           throws Exception
Test whether FixedWindowRollingPolicy throws an exception when the ActiveFileName is not set.

Throws:
Exception

test2

public void test2()
           throws Exception
Test basic rolling functionality.

Throws:
Exception

test3

public void test3()
           throws Exception
Same as testBasic but also with GZ compression.

Throws:
Exception


Copyright © 2005-2009 QOS.ch. All Rights Reserved.