Top Description Constructors Methods
org.junit.jupiter.engine.support

public Class JupiterThrowableCollectorFactory

extends Object
Class Inheritance
Annotations
@API
status:INTERNAL
since:5.4
Static Imports
org.apiguardian.api.API.Status.INTERNAL

Factory for creating ThrowableCollectors within the JUnit Jupiter test engine.
Since
5.4
See Also
ThrowableCollector

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ThrowableCollector
createThrowableCollector()

Create a new ThrowableCollector that treats instances of the OTA's org.opentest4j.TestAbortedException and JUnit 4's org.junit.AssumptionViolatedException as aborting.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

JupiterThrowableCollectorFactoryback to summary
private JupiterThrowableCollectorFactory()

Method Detail

createThrowableCollectorback to summary
public static ThrowableCollector createThrowableCollector()

Create a new ThrowableCollector that treats instances of the OTA's org.opentest4j.TestAbortedException and JUnit 4's org.junit.AssumptionViolatedException as aborting.