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 JupiterTestDescriptor |
TestFactoryTestDescriptor.createDynamicDescriptor(JupiterTestDescriptor parent,
DynamicNode node,
int index,
TestSource source) |
Constructor and Description |
---|
DynamicContainerTestDescriptor(UniqueId uniqueId,
DynamicContainer dynamicContainer,
TestSource testSource) |
DynamicTestTestDescriptor(UniqueId uniqueId,
DynamicTest dynamicTest,
TestSource source) |
JupiterTestDescriptor(UniqueId uniqueId,
java.lang.String displayName,
TestSource source) |
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
Java class based
TestSource with an optional
position. |
class |
CompositeTestSource
A
CompositeTestSource contains one or more TestSources . |
class |
DirectorySource
Directory based
TestSource . |
class |
FileSource
File based
TestSource with an optional
position. |
class |
MethodSource
Java 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) |