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 test RunnerFeature.beforeRun(FeaturesRunner) and correctly restored after that which means after the execution of RunnerFeature.afterRun(FeaturesRunner)
  • Constructor Details

    • LogFeatureClassCheckerRule

      public LogFeatureClassCheckerRule()
  • Method Details

    • apply

      public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
      Specified by:
      apply in interface org.junit.rules.TestRule