Package org.junit.jupiter.engine.support
Class JupiterThrowableCollectorFactory
java.lang.Object
org.junit.jupiter.engine.support.JupiterThrowableCollectorFactory
Factory for creating
ThrowableCollectors
within
the JUnit Jupiter test engine.- Since:
- 5.4
- See Also:
-
ThrowableCollector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.junit.platform.engine.support.hierarchical.ThrowableCollector
Create a newThrowableCollector
that treats instances of the OTA'sTestAbortedException
and JUnit 4'sorg.junit.AssumptionViolatedException
as aborting.
-
Constructor Details
-
JupiterThrowableCollectorFactory
public JupiterThrowableCollectorFactory()
-
-
Method Details
-
createThrowableCollector
public static org.junit.platform.engine.support.hierarchical.ThrowableCollector createThrowableCollector()Create a newThrowableCollector
that treats instances of the OTA'sTestAbortedException
and JUnit 4'sorg.junit.AssumptionViolatedException
as aborting.
-