Package org.nuxeo.runtime.test.logging
Class TestLogFeature.LogFeatureClassCheckerRule
- java.lang.Object
-
- org.nuxeo.runtime.test.logging.TestLogFeature.LogFeatureClassCheckerRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
- Enclosing class:
- TestLogFeature
public static class TestLogFeature.LogFeatureClassCheckerRule extends Object implements org.junit.rules.TestRule
Ensures that all log levels are preserved before launching the whole class testRunnerFeature.beforeRun(FeaturesRunner)
and correctly restored after that which means after the execution ofRunnerFeature.afterRun(FeaturesRunner)
-
-
Constructor Summary
Constructors Constructor Description LogFeatureClassCheckerRule()
-
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)
-
-
-
Constructor Detail
-
LogFeatureClassCheckerRule
public LogFeatureClassCheckerRule()
-
-
Method Detail
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
- Specified by:
apply
in interfaceorg.junit.rules.TestRule
-
-