[logback-dev] Changes to TimeBasedRollingTest
Jean-Noel Charpin
jncharpin at qos.ch
Fri Mar 30 16:12:31 CEST 2007
Hello all,
I've changed to TimeBasedRollingPolicy test case to make it faster.
It used to test the rolling functionality with real time intervals. Now we use a subclass of
TimeBasedRollingPolicy in which we inject time when needed.
The test case now runs in a fraction of a second instead of taking around 10 seconds.
Jean-Noel
--
Jean-Noel Charpin
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
More information about the logback-dev
mailing list