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 JUnitTestRulethat sets (and resets) the Log4j2 log level based on theLogLevelannotation.
-
-
Constructor Summary
Constructors Constructor Description LogLevelTestRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statementapply(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:
applyin interfaceorg.junit.rules.TestRule
-
-