@API(status=INTERNAL,
since="5.0")
public class JupiterEngineExecutionContext
extends Object
implements EngineExecutionContext
| Modifier and Type | Class and Description |
|---|---|
static class |
JupiterEngineExecutionContext.Builder |
| Constructor and Description |
|---|
JupiterEngineExecutionContext(EngineExecutionListener executionListener,
JupiterConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
beforeAllCallbacksExecuted() |
void |
beforeAllCallbacksExecuted(boolean beforeAllCallbacksExecuted)
Track that an attempt was made to execute
BeforeAllCallback extensions. |
boolean |
beforeAllMethodsExecuted() |
void |
beforeAllMethodsExecuted(boolean beforeAllMethodsExecuted)
Track that an attempt was made to execute
@BeforeAll methods. |
void |
close() |
JupiterEngineExecutionContext.Builder |
extend() |
JupiterConfiguration |
getConfiguration() |
EngineExecutionListener |
getExecutionListener() |
ExtensionContext |
getExtensionContext() |
ExtensionRegistry |
getExtensionRegistry() |
TestInstancesProvider |
getTestInstancesProvider() |
ThrowableCollector |
getThrowableCollector() |
public JupiterEngineExecutionContext(EngineExecutionListener executionListener, JupiterConfiguration configuration)
public EngineExecutionListener getExecutionListener()
public JupiterConfiguration getConfiguration()
public TestInstancesProvider getTestInstancesProvider()
public ExtensionRegistry getExtensionRegistry()
public ExtensionContext getExtensionContext()
public ThrowableCollector getThrowableCollector()
public void beforeAllCallbacksExecuted(boolean beforeAllCallbacksExecuted)
BeforeAllCallback extensions.public boolean beforeAllCallbacksExecuted()
true if an attempt was made to execute BeforeAllCallback
extensionspublic void beforeAllMethodsExecuted(boolean beforeAllMethodsExecuted)
@BeforeAll methods.public boolean beforeAllMethodsExecuted()
true if an attempt was made to execute @BeforeAll
methodspublic JupiterEngineExecutionContext.Builder extend()
Copyright © 2024. All rights reserved.