Uses of Interface
org.junit.platform.engine.DiscoveryIssue
-
Packages that use DiscoveryIssue Package Description org.junit.platform.engine Public API for test engines.org.junit.platform.engine.support.discovery 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 DiscoveryIssue Modifier and Type Method Description DiscoveryIssueDiscoveryIssue.Builder. build()Build theDiscoveryIssue.static DiscoveryIssueDiscoveryIssue. create(DiscoveryIssue.Severity severity, java.lang.String message)Create a newDiscoveryIssuewith the suppliedDiscoveryIssue.Severityand message.default DiscoveryIssueDiscoveryIssue. withMessage(java.util.function.UnaryOperator<java.lang.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 DiscoveryIssue Modifier and Type Method Description default 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 DiscoveryIssue Modifier and Type Method Description voidDiscoveryIssueReporter. reportIssue(DiscoveryIssue issue)Report the suppliedDiscoveryIssue.Method parameters in org.junit.platform.engine.support.discovery with type arguments of type DiscoveryIssue Modifier and Type Method Description static DiscoveryIssueReporterDiscoveryIssueReporter. collecting(java.util.Collection<? super DiscoveryIssue> collection)Create a newDiscoveryIssueReporterthat adds reported issues to the supplied collection.static DiscoveryIssueReporterDiscoveryIssueReporter. consuming(java.util.function.Consumer<? super DiscoveryIssue> consumer)Create a newDiscoveryIssueReporterthat adds reported issues to the supplied consumer.default <T> DiscoveryIssueReporter.Condition<T>DiscoveryIssueReporter. createReportingCondition(java.util.function.Predicate<T> predicate, java.util.function.Function<T,DiscoveryIssue> issueCreator)Create aDiscoveryIssueReporter.Conditionthat reports aDiscoveryIssuewhen the suppliedPredicateis not met.
-