Module org.junit.jupiter.engine
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 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 ThrowableCollector
createThrowableCollector()
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
Create a newThrowableCollector
that treats instances of the OTA'sTestAbortedException
and JUnit 4'sorg.junit.AssumptionViolatedException
as aborting.
-