Uses of Interface
org.junit.platform.engine.TestSource
Packages that use TestSource
Package
Description
Test descriptors used within the JUnit Jupiter test engine.
Public API for test engines.
TestDescriptor
-related support classes
intended to be used by test engine implementations and clients of
the launcher.Public API for configuring and launching test plans.
Test descriptors used within the JUnit Vintage test engine.
-
Uses of TestSource in org.junit.jupiter.engine.descriptor
Constructors in org.junit.jupiter.engine.descriptor with parameters of type TestSourceModifierConstructorDescriptionClassTemplateInvocationTestDescriptor
(UniqueId uniqueId, ClassTemplateTestDescriptor parent, ClassTemplateInvocationContext invocationContext, int index, @Nullable TestSource source, JupiterConfiguration configuration) -
Uses of TestSource in org.junit.platform.engine
Methods in org.junit.platform.engine that return types with arguments of type TestSourceModifier and TypeMethodDescriptionTestDescriptor.getSource()
Get the source of the test or container described by this descriptor, if available.DiscoveryIssue.source()
Returns the source of this issue.Methods in org.junit.platform.engine with parameters of type TestSourceModifier and TypeMethodDescriptionDiscoveryIssue.Builder.source
(@Nullable TestSource source) Set theTestSource
for theDiscoveryIssue
.Method parameters in org.junit.platform.engine with type arguments of type TestSourceModifier and TypeMethodDescriptiondefault DiscoveryIssue.Builder
DiscoveryIssue.Builder.source
(Optional<TestSource> source) Set theTestSource
for theDiscoveryIssue
. -
Uses of TestSource in org.junit.platform.engine.support.descriptor
Subinterfaces of TestSource in org.junit.platform.engine.support.descriptorModifier and TypeInterfaceDescriptioninterface
File system basedTestSource
.interface
ATestSource
that can be represented as aURI
.Classes in org.junit.platform.engine.support.descriptor that implement TestSourceModifier and TypeClassDescriptionclass
Classpath resource basedTestSource
with an optional position.class
Class basedTestSource
with an optional file position.class
ACompositeTestSource
contains one or moreTestSources
.class
Directory basedTestSource
.class
File basedTestSource
with an optional position.class
Method basedTestSource
.class
Package basedTestSource
.Methods in org.junit.platform.engine.support.descriptor that return types with arguments of type TestSourceModifier and TypeMethodDescriptionAbstractTestDescriptor.getSource()
final List
<TestSource> CompositeTestSource.getSources()
Get an immutable list of the sources stored in thisCompositeTestSource
.Method parameters in org.junit.platform.engine.support.descriptor with type arguments of type TestSourceModifier and TypeMethodDescriptionstatic CompositeTestSource
CompositeTestSource.from
(Collection<? extends TestSource> sources) Create a newCompositeTestSource
based on the supplied collection ofsources
.Constructors in org.junit.platform.engine.support.descriptor with parameters of type TestSourceModifierConstructorDescriptionprotected
AbstractTestDescriptor
(UniqueId uniqueId, String displayName, @Nullable TestSource source) Create a newAbstractTestDescriptor
with the suppliedUniqueId
, display name, and source. -
Uses of TestSource in org.junit.platform.launcher
Methods in org.junit.platform.launcher that return types with arguments of type TestSource -
Uses of TestSource in org.junit.vintage.engine.descriptor
Methods in org.junit.vintage.engine.descriptor that return TestSourceModifier and TypeMethodDescription@Nullable TestSource
TestSourceProvider.findTestSource
(Description description) Constructors in org.junit.vintage.engine.descriptor with parameters of type TestSourceModifierConstructorDescriptionVintageTestDescriptor
(UniqueId uniqueId, Description description, @Nullable TestSource source)