Class JupiterEngineExecutionContext

  • All Implemented Interfaces:
    org.junit.platform.engine.support.hierarchical.EngineExecutionContext

    @API(status=INTERNAL,
         since="5.0")
    public class JupiterEngineExecutionContext
    extends java.lang.Object
    implements org.junit.platform.engine.support.hierarchical.EngineExecutionContext
    Since:
    5.0
    • Constructor Detail

      • JupiterEngineExecutionContext

        public JupiterEngineExecutionContext​(org.junit.platform.engine.EngineExecutionListener executionListener,
                                             JupiterConfiguration configuration)
    • Method Detail

      • close

        public void close()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getExecutionListener

        public org.junit.platform.engine.EngineExecutionListener getExecutionListener()
      • getExtensionContext

        public org.junit.jupiter.api.extension.ExtensionContext getExtensionContext()
      • getThrowableCollector

        public org.junit.platform.engine.support.hierarchical.ThrowableCollector getThrowableCollector()
      • beforeAllCallbacksExecuted

        public void beforeAllCallbacksExecuted​(boolean beforeAllCallbacksExecuted)
        Track that an attempt was made to execute BeforeAllCallback extensions.
        Since:
        5.3
      • beforeAllCallbacksExecuted

        public boolean beforeAllCallbacksExecuted()
        Returns:
        true if an attempt was made to execute BeforeAllCallback extensions
        Since:
        5.3
      • beforeAllMethodsExecuted

        public void beforeAllMethodsExecuted​(boolean beforeAllMethodsExecuted)
        Track that an attempt was made to execute @BeforeAll methods.
      • beforeAllMethodsExecuted

        public boolean beforeAllMethodsExecuted()
        Returns:
        true if an attempt was made to execute @BeforeAll methods