Uses of Interface
org.junit.platform.engine.DiscoveryIssue
Packages that use DiscoveryIssue
Package
Description
Public API for test engines.
Configurable test discovery implementation that can be reused by different test engines.
-
Uses of DiscoveryIssue in org.junit.platform.engine
Methods in org.junit.platform.engine that return DiscoveryIssueModifier and TypeMethodDescriptionDiscoveryIssue.Builder.build()Build theDiscoveryIssue.static DiscoveryIssueDiscoveryIssue.create(DiscoveryIssue.Severity severity, String message) Create a newDiscoveryIssuewith the suppliedDiscoveryIssue.Severityand message.default DiscoveryIssueDiscoveryIssue.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 voidEngineDiscoveryListener.issueEncountered(UniqueId engineId, DiscoveryIssue issue) Called when the engine with the suppliedengineIdencountered 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 TypeMethodDescriptionvoidDiscoveryIssueReporter.reportIssue(DiscoveryIssue issue) Report the suppliedDiscoveryIssue.Method parameters in org.junit.platform.engine.support.discovery with type arguments of type DiscoveryIssueModifier and TypeMethodDescriptionstatic DiscoveryIssueReporterDiscoveryIssueReporter.collecting(Collection<? super DiscoveryIssue> collection) Create a newDiscoveryIssueReporterthat adds reported issues to the supplied collection.static DiscoveryIssueReporterDiscoveryIssueReporter.consuming(Consumer<? super DiscoveryIssue> consumer) Create a newDiscoveryIssueReporterthat adds reported issues to the supplied consumer.default <T> DiscoveryIssueReporter.Condition<T> DiscoveryIssueReporter.createReportingCondition(Predicate<T> predicate, Function<T, DiscoveryIssue> issueCreator) Create aDiscoveryIssueReporter.Conditionthat reports aDiscoveryIssuewhen the suppliedPredicateis not met.