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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJupiterEngineExecutionContext.Builder
-
Constructor Summary
Constructors Constructor Description JupiterEngineExecutionContext(EngineExecutionListener executionListener, ConfigurationParameters configurationParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbeforeAllCallbacksExecuted()voidbeforeAllCallbacksExecuted(boolean beforeAllCallbacksExecuted)Track that an attempt was made to executeBeforeAllCallbackextensions.booleanbeforeAllMethodsExecuted()voidbeforeAllMethodsExecuted(boolean beforeAllMethodsExecuted)Track that an attempt was made to execute@BeforeAllmethods.voidclose()JupiterEngineExecutionContext.Builderextend()ConfigurationParametersgetConfigurationParameters()EngineExecutionListenergetExecutionListener()ExtensionContextgetExtensionContext()ExtensionRegistrygetExtensionRegistry()TestInstanceProvidergetTestInstanceProvider()ThrowableCollectorgetThrowableCollector()
-
-
-
Constructor Detail
-
JupiterEngineExecutionContext
public JupiterEngineExecutionContext(EngineExecutionListener executionListener, ConfigurationParameters configurationParameters)
-
-
Method Detail
-
getExecutionListener
public EngineExecutionListener getExecutionListener()
-
getConfigurationParameters
public ConfigurationParameters getConfigurationParameters()
-
getTestInstanceProvider
public TestInstanceProvider getTestInstanceProvider()
-
getExtensionRegistry
public ExtensionRegistry getExtensionRegistry()
-
getExtensionContext
public ExtensionContext getExtensionContext()
-
getThrowableCollector
public ThrowableCollector getThrowableCollector()
-
beforeAllCallbacksExecuted
public void beforeAllCallbacksExecuted(boolean beforeAllCallbacksExecuted)
Track that an attempt was made to executeBeforeAllCallbackextensions.- Since:
- 5.3
-
beforeAllCallbacksExecuted
public boolean beforeAllCallbacksExecuted()
- Returns:
trueif an attempt was made to executeBeforeAllCallbackextensions- Since:
- 5.3
-
beforeAllMethodsExecuted
public void beforeAllMethodsExecuted(boolean beforeAllMethodsExecuted)
Track that an attempt was made to execute@BeforeAllmethods.
-
beforeAllMethodsExecuted
public boolean beforeAllMethodsExecuted()
- Returns:
trueif an attempt was made to execute@BeforeAllmethods
-
extend
public JupiterEngineExecutionContext.Builder extend()
-
-