Class 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
    • Method Summary

      All Methods Static Methods Concrete Methods 
      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 Detail

      • JupiterThrowableCollectorFactory

        public JupiterThrowableCollectorFactory()
    • Method Detail

      • 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.