Package org.apache.solr.util
Class LogLevelTestRule
- java.lang.Object
-
- org.apache.solr.util.LogLevelTestRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class LogLevelTestRule extends Object implements org.junit.rules.TestRule
A JUnitTestRule
that sets (and resets) the Log4j2 log level based on theLogLevel
annotation.
-
-
Constructor Summary
Constructors Constructor Description LogLevelTestRule()
-
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, Description description)
-
-
-
Method Detail
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, Description description)
- Specified by:
apply
in interfaceorg.junit.rules.TestRule
-
-