Package | Description |
---|---|
org.junit.jupiter.engine.descriptor |
Test descriptors used within the JUnit Jupiter test engine.
|
org.junit.jupiter.engine.execution |
Internal classes for test execution within the JUnit Jupiter test engine.
|
org.junit.jupiter.engine.support |
Internal support classes for the JUnit Jupiter test engine.
|
org.junit.platform.engine.support.hierarchical |
Support classes and base implementation for any
TestEngine that wishes to organize test suites
hierarchically based on the
Node abstraction. |
Modifier and Type | Field and Description |
---|---|
private ThrowableCollector |
ClassExtensionContext.throwableCollector |
private ThrowableCollector |
MethodExtensionContext.throwableCollector |
Constructor and Description |
---|
ClassExtensionContext(ExtensionContext parent,
EngineExecutionListener engineExecutionListener,
ClassBasedTestDescriptor testDescriptor,
JupiterConfiguration configuration,
ThrowableCollector throwableCollector)
Create a new
ClassExtensionContext with TestInstance.Lifecycle.PER_METHOD . |
ClassExtensionContext(ExtensionContext parent,
EngineExecutionListener engineExecutionListener,
ClassBasedTestDescriptor testDescriptor,
TestInstance.Lifecycle lifecycle,
JupiterConfiguration configuration,
ThrowableCollector throwableCollector) |
MethodExtensionContext(ExtensionContext parent,
EngineExecutionListener engineExecutionListener,
TestMethodTestDescriptor testDescriptor,
JupiterConfiguration configuration,
ThrowableCollector throwableCollector) |
Modifier and Type | Field and Description |
---|---|
(package private) ThrowableCollector |
JupiterEngineExecutionContext.State.throwableCollector |
Modifier and Type | Method and Description |
---|---|
ThrowableCollector |
JupiterEngineExecutionContext.getThrowableCollector() |
Modifier and Type | Method and Description |
---|---|
JupiterEngineExecutionContext.Builder |
JupiterEngineExecutionContext.Builder.withThrowableCollector(ThrowableCollector throwableCollector) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
OpenTest4JAndJUnit4AwareThrowableCollector
Specialization of
ThrowableCollector that treats instances of the
OTA's TestAbortedException and JUnit 4's
org.junit.AssumptionViolatedException as aborting. |
Modifier and Type | Method and Description |
---|---|
static ThrowableCollector |
JupiterThrowableCollectorFactory.createThrowableCollector()
Create a new
ThrowableCollector that treats instances of the
OTA's TestAbortedException and JUnit 4's
org.junit.AssumptionViolatedException as aborting. |
Modifier and Type | Class and Description |
---|---|
class |
OpenTest4JAwareThrowableCollector
Specialization of
ThrowableCollector that treats instances of
TestAbortedException as aborting. |
Modifier and Type | Field and Description |
---|---|
private ThrowableCollector |
NodeTestTask.throwableCollector |
Modifier and Type | Method and Description |
---|---|
ThrowableCollector |
ThrowableCollector.Factory.create()
Create a new instance of a
ThrowableCollector . |