Package org.junit.jupiter.engine.support
Class JupiterThrowableCollectorFactory
java.lang.Object
org.junit.jupiter.engine.support.JupiterThrowableCollectorFactory
@API(status=INTERNAL,
since="5.4")
public class JupiterThrowableCollectorFactory
extends java.lang.Object
Factory for creating
ThrowableCollectors within
the JUnit Jupiter test engine.- Since:
- 5.4
- See Also:
ThrowableCollector
-
Constructor Summary
Constructors Constructor Description JupiterThrowableCollectorFactory() -
Method Summary
Modifier and Type Method Description static org.junit.platform.engine.support.hierarchical.ThrowableCollectorcreateThrowableCollector()Create a newThrowableCollectorthat treats instances of the OTA'sTestAbortedExceptionand JUnit 4'sorg.junit.AssumptionViolatedExceptionas aborting.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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.
-