Top Description Fields Constructors Methods
org.junit.jupiter.engine.support

pack-priv Class OpenTest4JAndJUnit4AwareThrowableCollector

extends ThrowableCollector
Class Inheritance
Imports
java.util.function.Predicate, .Supplier, org.junit.platform.commons.logging.Logger, .LoggerFactory, org.junit.platform.commons.support.ReflectionSupport, org.junit.platform.commons.util.UnrecoverableExceptions, org.junit.platform.engine.support.hierarchical.ThrowableCollector, org.opentest4j.TestAbortedException

Specialization of ThrowableCollector that treats instances of the OTA's org.opentest4j.TestAbortedException and JUnit 4's org.junit.AssumptionViolatedException as aborting.
Since
5.4
See Also
ThrowableCollector, org.junit.platform.engine.support.hierarchical.OpenTest4JAwareThrowableCollector

Field Summary

Modifier and TypeField and Description
private static final Predicate<? super Throwable>
private static final String
private static final String
private static final Logger

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static Predicate<? super Throwable>
Inherited from org.junit.platform.engine.support.hierarchical.ThrowableCollector:
assertEmptyexecutegetThrowableisEmptyisNotEmptytoTestExecutionResult

Field Detail

abortedExecutionPredicateback to summary
private static final Predicate<? super Throwable> abortedExecutionPredicate

Hides org.junit.platform.engine.support.hierarchical.ThrowableCollector.abortedExecutionPredicate.

ASSUMPTION_VIOLATED_EXCEPTIONback to summary
private static final String ASSUMPTION_VIOLATED_EXCEPTION
COMMON_FAILURE_MESSAGEback to summary
private static final String COMMON_FAILURE_MESSAGE
loggerback to summary
private static final Logger logger

Constructor Detail

OpenTest4JAndJUnit4AwareThrowableCollectorback to summary
pack-priv OpenTest4JAndJUnit4AwareThrowableCollector()

Method Detail

createAbortedExecutionPredicateback to summary
private static Predicate<? super Throwable> createAbortedExecutionPredicate()