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 creatingThrowableCollectors
within the JUnit Jupiter test engine.- Since:
- 5.4
- See Also:
ThrowableCollector
-
-
Constructor Summary
Constructors Constructor Description JupiterThrowableCollectorFactory()
-
Method Summary
All Methods Static Methods Concrete Methods 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.
-
-
-
Method Detail
-
createThrowableCollector
public static ThrowableCollector createThrowableCollector()
Create a newThrowableCollector
that treats instances of the OTA'sTestAbortedException
and JUnit 4'sorg.junit.AssumptionViolatedException
as aborting.
-
-