Package org.camunda.commons.testing
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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
finished
(org.junit.runner.Description description) List<ch.qos.logback.classic.spi.ILoggingEvent>
getFilteredLog
(String subString) List<ch.qos.logback.classic.spi.ILoggingEvent>
getFilteredLog
(String loggerName, String subString) List<ch.qos.logback.classic.spi.ILoggingEvent>
getLog()
List<ch.qos.logback.classic.spi.ILoggingEvent>
level
(ch.qos.logback.classic.Level level) protected void
starting
(org.junit.runner.Description description) Methods inherited from class org.junit.rules.TestWatcher
apply, failed, skipped, skipped, succeeded
-
Field Details
-
LOGGER_NOT_FOUND_ERROR
- See Also:
-
NOT_WATCHING_ERROR
- See Also:
-
-
Constructor Details
-
ProcessEngineLoggingRule
public ProcessEngineLoggingRule()
-
-
Method Details
-
watch
-
watch
-
level
-
getLog
-
getLog
-
getFilteredLog
-
getFilteredLog
-
starting
protected void starting(org.junit.runner.Description description) - Overrides:
starting
in classorg.junit.rules.TestWatcher
-
finished
protected void finished(org.junit.runner.Description description) - Overrides:
finished
in classorg.junit.rules.TestWatcher
-