Package org.junit.jupiter.engine.support
Class OpenTest4JAndJUnit4AwareThrowableCollector
java.lang.Object
org.junit.platform.engine.support.hierarchical.ThrowableCollector
org.junit.jupiter.engine.support.OpenTest4JAndJUnit4AwareThrowableCollector
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.junit.platform.engine.support.hierarchical.ThrowableCollector
ThrowableCollector.Executable, ThrowableCollector.Factory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.junit.platform.engine.support.hierarchical.ThrowableCollector
assertEmpty, execute, getThrowable, isEmpty, isNotEmpty, toTestExecutionResult
-
Field Details
-
logger
private static final org.junit.platform.commons.logging.Logger logger -
ASSUMPTION_VIOLATED_EXCEPTION
- See Also:
-
COMMON_FAILURE_MESSAGE
-
abortedExecutionPredicate
-
-
Constructor Details
-
OpenTest4JAndJUnit4AwareThrowableCollector
OpenTest4JAndJUnit4AwareThrowableCollector()
-
-
Method Details
-
createAbortedExecutionPredicate
-