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.ThrowableCollector createThrowableCollector()
    Create a new ThrowableCollector that treats instances of the OTA's TestAbortedException and JUnit 4's org.junit.AssumptionViolatedException as 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 new ThrowableCollector that treats instances of the OTA's TestAbortedException and JUnit 4's org.junit.AssumptionViolatedException as aborting.