Class ProcessEngineLoggingRule

java.lang.Object
org.junit.rules.TestWatcher
org.camunda.commons.testing.ProcessEngineLoggingRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class ProcessEngineLoggingRule extends org.junit.rules.TestWatcher
  • Field Details

  • Constructor Details

    • ProcessEngineLoggingRule

      public ProcessEngineLoggingRule()
  • Method Details

    • watch

      public ProcessEngineLoggingRule watch(String... loggerName)
    • watch

      public ProcessEngineLoggingRule watch(String loggerName, ch.qos.logback.classic.Level level)
    • level

      public ProcessEngineLoggingRule level(ch.qos.logback.classic.Level level)
    • getLog

      public List<ch.qos.logback.classic.spi.ILoggingEvent> getLog(String loggerName)
    • getLog

      public List<ch.qos.logback.classic.spi.ILoggingEvent> getLog()
    • getFilteredLog

      public List<ch.qos.logback.classic.spi.ILoggingEvent> getFilteredLog(String subString)
    • getFilteredLog

      public List<ch.qos.logback.classic.spi.ILoggingEvent> getFilteredLog(String loggerName, String subString)
    • starting

      protected void starting(org.junit.runner.Description description)
      Overrides:
      starting in class org.junit.rules.TestWatcher
    • finished

      protected void finished(org.junit.runner.Description description)
      Overrides:
      finished in class org.junit.rules.TestWatcher