EngineExecutionContext
@API(status=INTERNAL, since="5.0") public class JupiterEngineExecutionContext extends Object implements EngineExecutionContext
Modifier and Type | Class | Description |
---|---|---|
static class |
JupiterEngineExecutionContext.Builder |
Constructor | Description |
---|---|
JupiterEngineExecutionContext(EngineExecutionListener executionListener,
JupiterConfiguration configuration) |
Modifier and Type | Method | 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() |
|
MutableExtensionRegistry |
getExtensionRegistry() |
|
TestInstancesProvider |
getTestInstancesProvider() |
|
ThrowableCollector |
getThrowableCollector() |
public JupiterEngineExecutionContext(EngineExecutionListener executionListener, JupiterConfiguration configuration)
public EngineExecutionListener getExecutionListener()
public JupiterConfiguration getConfiguration()
public TestInstancesProvider getTestInstancesProvider()
public MutableExtensionRegistry 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 © 2019. All rights reserved.