Package net.officefloor.test.logger
Class LoggerRule
- java.lang.Object
-
- java.util.logging.Handler
-
- net.officefloor.test.logger.AbstractLoggerJUnit
-
- net.officefloor.test.logger.LoggerRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class LoggerRule extends AbstractLoggerJUnit implements org.junit.rules.TestRule
TestRule
to capture and assertLogger
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description LoggerRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
-
Methods inherited from class net.officefloor.test.logger.AbstractLoggerJUnit
assertLog, assertLog, assertLog, clear, close, flush, publish, setupLogCapture, teardownLogCapture
-
-