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> T doProceedAndPostProcess​(org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<T> invocation, TestContext context)  
    static java.lang.Throwable processThrowable​(java.lang.Throwable t, TestContext context)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public static java.lang.Throwable processThrowable​(java.lang.Throwable t, TestContext context)