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 ClassesModifier and TypeClassDescriptionstatic classprivate static final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate final JupiterEngineExecutionContext.State -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateJupiterEngineExecutionContext(EngineExecutionListener executionListener, JupiterConfiguration configuration, LauncherStoreFacade launcherStoreFacade) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidbeforeAllCallbacksExecuted(boolean beforeAllCallbacksExecuted) Track that an attempt was made to executeBeforeAllCallbackextensions.booleanvoidbeforeAllMethodsExecuted(boolean beforeAllMethodsExecuted) Track that an attempt was made to execute@BeforeAllmethods.voidclose()extend()org.junit.jupiter.api.extension.ExtensionContext
-
Field Details
-
state
-
beforeAllCallbacksExecuted
private boolean beforeAllCallbacksExecuted -
beforeAllMethodsExecuted
private boolean beforeAllMethodsExecuted
-
-
Constructor Details
-
JupiterEngineExecutionContext
public JupiterEngineExecutionContext(EngineExecutionListener executionListener, JupiterConfiguration configuration, LauncherStoreFacade launcherStoreFacade) -
JupiterEngineExecutionContext
-
-
Method Details
-
close
-
getExecutionListener
-
getConfiguration
-
getLauncherStoreFacade
-
getTestInstancesProvider
-
getExtensionRegistry
-
getExtensionContext
public org.junit.jupiter.api.extension.ExtensionContext getExtensionContext() -
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
-