Class JupiterEngineExecutionContext

java.lang.Object
org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
All Implemented Interfaces:
EngineExecutionContext

@API(status=INTERNAL, since="5.0") public class JupiterEngineExecutionContext extends Object implements EngineExecutionContext
Since:
5.0
  • Constructor Details

  • Method Details

    • close

      public void close() throws Exception
      Throws:
      Exception
    • getExecutionListener

      public EngineExecutionListener getExecutionListener()
    • getConfiguration

      public JupiterConfiguration getConfiguration()
    • getTestInstancesProvider

      public TestInstancesProvider getTestInstancesProvider()
    • getExtensionRegistry

      public MutableExtensionRegistry getExtensionRegistry()
    • getExtensionContext

      public ExtensionContext getExtensionContext()
    • getThrowableCollector

      public 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
    • extend