Package de.tum.in.test.api.internal
Class ReportingUtils
java.lang.Object
de.tum.in.test.api.internal.ReportingUtils
public final class ReportingUtils
extends java.lang.Object
For handling and post processing Exceptions and Errors.
- Author:
- Christian Femers
-
Method Summary
Modifier and Type Method Description static <T> TdoProceedAndPostProcess(org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<T> invocation, TestContext context)static java.lang.ThrowableprocessThrowable(java.lang.Throwable t, TestContext context)
-
Method Details
-
doProceedAndPostProcess
public static <T> T doProceedAndPostProcess(org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<T> invocation, TestContext context) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
processThrowable
-