Uses of Interface
org.junit.platform.engine.DiscoveryIssue
Packages that use DiscoveryIssue
Package
Description
Test descriptors used within the JUnit Jupiter test engine.
Public API for test engines.
Configurable test discovery implementation that can be reused by different test engines.
Java Flight Recorder support package.
Core support classes for the
Launcher
including the LauncherFactory
and the LauncherDiscoveryRequestBuilder
.Test Kit for testing the execution of a
TestEngine
running on the JUnit Platform.-
Uses of DiscoveryIssue in org.junit.jupiter.engine.descriptor
Method parameters in org.junit.jupiter.engine.descriptor with type arguments of type DiscoveryIssueModifier and TypeMethodDescriptionstatic void
Validatable.reportAndClear
(List<DiscoveryIssue> issues, DiscoveryIssueReporter reporter) Report and clear the given list ofDiscoveryIssue
s using the suppliedDiscoveryIssueReporter
. -
Uses of DiscoveryIssue in org.junit.platform.engine
Methods in org.junit.platform.engine that return DiscoveryIssueModifier and TypeMethodDescriptionDiscoveryIssue.Builder.build()
Build theDiscoveryIssue
.static DiscoveryIssue
DiscoveryIssue.create
(DiscoveryIssue.Severity severity, String message) Create a newDiscoveryIssue
with the suppliedDiscoveryIssue.Severity
and message.default DiscoveryIssue
DiscoveryIssue.withMessage
(UnaryOperator<String> messageModifier) Create a copy of this issue with the modified message produced by the supplied operator.Methods in org.junit.platform.engine with parameters of type DiscoveryIssueModifier and TypeMethodDescriptiondefault void
EngineDiscoveryListener.issueEncountered
(UniqueId engineId, DiscoveryIssue issue) Called when the engine with the suppliedengineId
encountered an issue during test discovery. -
Uses of DiscoveryIssue in org.junit.platform.engine.support.discovery
Methods in org.junit.platform.engine.support.discovery with parameters of type DiscoveryIssueModifier and TypeMethodDescriptionvoid
DiscoveryIssueReporter.reportIssue
(DiscoveryIssue issue) Report the suppliedDiscoveryIssue
.Method parameters in org.junit.platform.engine.support.discovery with type arguments of type DiscoveryIssueModifier and TypeMethodDescriptionstatic DiscoveryIssueReporter
DiscoveryIssueReporter.collecting
(Collection<? super DiscoveryIssue> collection) Create a newDiscoveryIssueReporter
that adds reported issues to the supplied collection.static DiscoveryIssueReporter
DiscoveryIssueReporter.consuming
(Consumer<? super DiscoveryIssue> consumer) Create a newDiscoveryIssueReporter
that adds reported issues to the supplied consumer.default <T> DiscoveryIssueReporter.Condition
<T> DiscoveryIssueReporter.createReportingCondition
(Predicate<T> predicate, Function<T, DiscoveryIssue> issueCreator) Create aDiscoveryIssueReporter.Condition
that reports aDiscoveryIssue
when the suppliedPredicate
is not met. -
Uses of DiscoveryIssue in org.junit.platform.jfr
Methods in org.junit.platform.jfr with parameters of type DiscoveryIssueModifier and TypeMethodDescriptionvoid
FlightRecordingDiscoveryListener.issueEncountered
(UniqueId engineId, DiscoveryIssue issue) -
Uses of DiscoveryIssue in org.junit.platform.launcher.core
Methods in org.junit.platform.launcher.core that return types with arguments of type DiscoveryIssueModifier and TypeMethodDescriptionLauncherDiscoveryResult.getDiscoveryIssues
(TestEngine testEngine) -
Uses of DiscoveryIssue in org.junit.platform.testkit.engine
Methods in org.junit.platform.testkit.engine that return types with arguments of type DiscoveryIssueModifier and TypeMethodDescriptionEngineDiscoveryResults.getDiscoveryIssues()
Returns the issues that were encountered during discovery.