@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,
ConfigurationParameters configurationParameters) |
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() |
ConfigurationParameters |
getConfigurationParameters() |
EngineExecutionListener |
getExecutionListener() |
ExtensionContext |
getExtensionContext() |
ExtensionRegistry |
getExtensionRegistry() |
TestInstanceProvider |
getTestInstanceProvider() |
ThrowableCollector |
getThrowableCollector() |
public JupiterEngineExecutionContext(EngineExecutionListener executionListener, ConfigurationParameters configurationParameters)
public EngineExecutionListener getExecutionListener()
public ConfigurationParameters getConfigurationParameters()
public TestInstanceProvider getTestInstanceProvider()
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 © 2018. All rights reserved.