| Package | Description |
|---|---|
| org.junit.jupiter.engine.descriptor |
Test descriptors used within the JUnit Jupiter test engine.
|
| org.junit.platform.engine |
Public API for test engines.
|
| org.junit.platform.engine.support.descriptor |
TestDescriptor-related support classes
intended to be used by test engine implementations and clients of
the launcher. |
| org.junit.platform.launcher |
Public API for configuring and launching test plans.
|
| org.junit.vintage.engine.descriptor |
Test descriptors used within the JUnit Vintage test engine.
|
| Modifier and Type | Field and Description |
|---|---|
private TestSource |
DynamicContainerTestDescriptor.testSource |
| Modifier and Type | Method and Description |
|---|---|
(package private) static TestSource |
TestFactoryTestDescriptor.fromUri(java.net.URI uri) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static java.util.Optional<JupiterTestDescriptor> |
TestFactoryTestDescriptor.createDynamicDescriptor(JupiterTestDescriptor parent,
DynamicNode node,
int index,
TestSource defaultTestSource,
DynamicDescendantFilter dynamicDescendantFilter,
JupiterConfiguration configuration) |
| Constructor and Description |
|---|
DynamicContainerTestDescriptor(UniqueId uniqueId,
int index,
DynamicContainer dynamicContainer,
TestSource testSource,
DynamicDescendantFilter dynamicDescendantFilter,
JupiterConfiguration configuration) |
DynamicNodeTestDescriptor(UniqueId uniqueId,
int index,
DynamicNode dynamicNode,
TestSource testSource,
JupiterConfiguration configuration) |
DynamicTestTestDescriptor(UniqueId uniqueId,
int index,
DynamicTest dynamicTest,
TestSource source,
JupiterConfiguration configuration) |
JupiterTestDescriptor(UniqueId uniqueId,
java.lang.reflect.AnnotatedElement element,
java.util.function.Supplier<java.lang.String> displayNameSupplier,
TestSource source,
JupiterConfiguration configuration) |
JupiterTestDescriptor(UniqueId uniqueId,
java.lang.String displayName,
TestSource source,
JupiterConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<TestSource> |
TestDescriptor.getSource()
Get the source of the test or container described
by this descriptor, if available.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
FileSystemSource
File system based
TestSource. |
interface |
UriSource
A
TestSource that can be represented as a URI. |
| Modifier and Type | Class and Description |
|---|---|
class |
ClasspathResourceSource
Classpath resource based
TestSource
with an optional position. |
class |
ClassSource
Class based
TestSource with
an optional file position. |
class |
CompositeTestSource
A
CompositeTestSource contains one or more TestSources. |
(package private) class |
DefaultUriSource
Default implementation of
UriSource. |
class |
DirectorySource
Directory based
TestSource. |
class |
FileSource
File based
TestSource with an optional
position. |
class |
MethodSource
Method based
TestSource. |
class |
PackageSource
Package based
TestSource. |
| Modifier and Type | Field and Description |
|---|---|
private TestSource |
AbstractTestDescriptor.source |
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<TestSource> |
CompositeTestSource.sources |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<TestSource> |
AbstractTestDescriptor.getSource() |
java.util.List<TestSource> |
CompositeTestSource.getSources()
Get an immutable list of the sources stored in this
CompositeTestSource. |
| Modifier and Type | Method and Description |
|---|---|
static CompositeTestSource |
CompositeTestSource.from(java.util.Collection<? extends TestSource> sources)
Create a new
CompositeTestSource based on the supplied
collection of sources. |
| Constructor and Description |
|---|
AbstractTestDescriptor(UniqueId uniqueId,
java.lang.String displayName,
TestSource source)
Create a new
AbstractTestDescriptor with the supplied
UniqueId, display name, and source. |
| Constructor and Description |
|---|
CompositeTestSource(java.util.Collection<? extends TestSource> sources) |
| Modifier and Type | Field and Description |
|---|---|
private TestSource |
TestIdentifier.source |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<TestSource> |
TestIdentifier.getSource()
Get the source of the represented test
or container, if available.
|
| Constructor and Description |
|---|
TestIdentifier(java.lang.String uniqueId,
java.lang.String displayName,
TestSource source,
java.util.Set<TestTag> tags,
TestDescriptor.Type type,
java.lang.String parentId,
java.lang.String legacyReportingName) |
| Modifier and Type | Method and Description |
|---|---|
private static TestSource |
VintageTestDescriptor.toTestSource(org.junit.runner.Description description) |
| Constructor and Description |
|---|
VintageTestDescriptor(UniqueId uniqueId,
org.junit.runner.Description description,
java.lang.String displayName,
TestSource source) |