Class LoggingExtension
- java.lang.Object
-
- org.flowable.common.engine.impl.test.LoggingExtension
-
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterTestExecutionCallback,org.junit.jupiter.api.extension.BeforeTestExecutionCallback,org.junit.jupiter.api.extension.Extension
public class LoggingExtension extends Object implements org.junit.jupiter.api.extension.BeforeTestExecutionCallback, org.junit.jupiter.api.extension.AfterTestExecutionCallback
- Author:
- Filip Hrisafov
-
-
Constructor Summary
Constructors Constructor Description LoggingExtension()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterTestExecution(org.junit.jupiter.api.extension.ExtensionContext context)voidbeforeTestExecution(org.junit.jupiter.api.extension.ExtensionContext context)protected static voidlogExecutionException(Throwable ex)
-
-
-
Method Detail
-
beforeTestExecution
public void beforeTestExecution(org.junit.jupiter.api.extension.ExtensionContext context) throws Exception- Specified by:
beforeTestExecutionin interfaceorg.junit.jupiter.api.extension.BeforeTestExecutionCallback- Throws:
Exception
-
afterTestExecution
public void afterTestExecution(org.junit.jupiter.api.extension.ExtensionContext context) throws Exception- Specified by:
afterTestExecutionin interfaceorg.junit.jupiter.api.extension.AfterTestExecutionCallback- Throws:
Exception
-
logExecutionException
protected static void logExecutionException(Throwable ex)
-
-