Class OpenTest4JAndJUnit4AwareThrowableCollector

java.lang.Object
org.junit.platform.engine.support.hierarchical.ThrowableCollector
org.junit.jupiter.engine.support.OpenTest4JAndJUnit4AwareThrowableCollector

class OpenTest4JAndJUnit4AwareThrowableCollector extends ThrowableCollector
Specialization of ThrowableCollector that treats instances of the OTA's TestAbortedException and JUnit 4's org.junit.AssumptionViolatedException as aborting.
Since:
5.4
See Also:
  • Field Details

    • logger

      private static final org.junit.platform.commons.logging.Logger logger
    • ASSUMPTION_VIOLATED_EXCEPTION

      private static final String ASSUMPTION_VIOLATED_EXCEPTION
      See Also:
    • COMMON_FAILURE_MESSAGE

      private static final String COMMON_FAILURE_MESSAGE
    • abortedExecutionPredicate

      private static final Predicate<? super Throwable> abortedExecutionPredicate
  • Constructor Details

    • OpenTest4JAndJUnit4AwareThrowableCollector

      OpenTest4JAndJUnit4AwareThrowableCollector()
  • Method Details

    • createAbortedExecutionPredicate

      private static Predicate<? super Throwable> createAbortedExecutionPredicate()