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.ThrowableCollectorCreate a newThrowableCollectorthat treats instances of the OTA'sTestAbortedExceptionand JUnit 4'sorg.junit.AssumptionViolatedExceptionas aborting.
-
Constructor Details
-
JupiterThrowableCollectorFactory
public JupiterThrowableCollectorFactory()
-
-
Method Details
-
createThrowableCollector
public static org.junit.platform.engine.support.hierarchical.ThrowableCollector createThrowableCollector()Create a newThrowableCollectorthat treats instances of the OTA'sTestAbortedExceptionand JUnit 4'sorg.junit.AssumptionViolatedExceptionas aborting.
-