Uses of Interface
org.junit.platform.engine.DiscoveryIssue
-
Packages that use DiscoveryIssue Package Description org.junit.jupiter.engine.descriptor Test descriptors used within the JUnit Jupiter test engine.org.junit.jupiter.engine.discovery.predicates Internal predicate classes used by test discovery within the JUnit Jupiter test engine.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.org.junit.platform.launcher.core Core support classes for theLauncherincluding theLauncherFactoryand theLauncherDiscoveryRequestBuilder.org.junit.platform.launcher.listeners.discovery CommonLauncherDiscoveryListenerimplementations and factory methods.org.junit.platform.testkit.engine Test Kit for testing the execution of aTestEnginerunning on the JUnit Platform. -
-
Uses of DiscoveryIssue in org.junit.jupiter.engine.descriptor
Fields in org.junit.jupiter.engine.descriptor with type parameters of type DiscoveryIssue Modifier and Type Field Description private java.util.List<DiscoveryIssue>ClassBasedTestDescriptor.ClassInfo. discoveryIssuesprivate java.util.List<DiscoveryIssue>ClassBasedTestDescriptor.LifecycleMethods. discoveryIssuesprivate java.util.List<DiscoveryIssue>MethodBasedTestDescriptor.MethodInfo. discoveryIssuesMethods in org.junit.jupiter.engine.descriptor that return DiscoveryIssue Modifier and Type Method Description private static DiscoveryIssueLifecycleMethodUtils. createIssue(DiscoveryIssue.Severity severity, java.lang.String message, java.lang.reflect.Method method)Method parameters in org.junit.jupiter.engine.descriptor with type arguments of type DiscoveryIssue Modifier and Type Method Description (package private) static java.util.Set<TestTag>JupiterTestDescriptor. getTags(java.lang.reflect.AnnotatedElement element, java.util.function.Supplier<java.lang.String> elementDescription, java.util.function.Supplier<TestSource> sourceProvider, java.util.function.Consumer<DiscoveryIssue> issueCollector)static voidValidatable. reportAndClear(java.util.List<DiscoveryIssue> issues, DiscoveryIssueReporter reporter)Report and clear the given list ofDiscoveryIssues using the suppliedDiscoveryIssueReporter. -
Uses of DiscoveryIssue in org.junit.jupiter.engine.discovery.predicates
Methods in org.junit.jupiter.engine.discovery.predicates that return DiscoveryIssue Modifier and Type Method Description protected static DiscoveryIssueIsTestableMethod. createIssue(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, java.lang.reflect.Method method, java.lang.String condition)private static DiscoveryIssueTestClassPredicates. createIssue(java.lang.String prefix, java.lang.Class<?> testClass, java.lang.String detailMessage)private static DiscoveryIssueTestClassPredicates. createIssue(java.lang.String prefix, java.lang.Class<?> testClass, java.lang.String detailMessage, java.lang.String effect) -
Uses of DiscoveryIssue in org.junit.platform.engine
Classes in org.junit.platform.engine that implement DiscoveryIssue Modifier and Type Class Description (package private) classDefaultDiscoveryIssueMethods in org.junit.platform.engine that return DiscoveryIssue Modifier and Type Method Description DiscoveryIssueDefaultDiscoveryIssue.Builder. build()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. -
Uses of DiscoveryIssue in org.junit.platform.launcher.core
Fields in org.junit.platform.launcher.core with type parameters of type DiscoveryIssue Modifier and Type Field Description private java.util.List<DiscoveryIssue>DiscoveryIssueNotifier. allIssuesprivate java.util.List<DiscoveryIssue>DiscoveryIssueNotifier. criticalIssues(package private) java.util.List<DiscoveryIssue>DiscoveryIssueCollector. issuesprivate java.util.List<DiscoveryIssue>DiscoveryIssueNotifier. nonCriticalIssuesMethods in org.junit.platform.launcher.core that return types with arguments of type DiscoveryIssue Modifier and Type Method Description (package private) java.util.List<DiscoveryIssue>DiscoveryIssueNotifier. getAllIssues()java.util.List<DiscoveryIssue>LauncherDiscoveryResult. getDiscoveryIssues(TestEngine testEngine)Methods in org.junit.platform.launcher.core with parameters of type DiscoveryIssue Modifier and Type Method Description voidDiscoveryIssueCollector. issueEncountered(UniqueId engineId, DiscoveryIssue issue)Method parameters in org.junit.platform.launcher.core with type arguments of type DiscoveryIssue Modifier and Type Method Description private static java.lang.StringDiscoveryIssueNotifier. formatMessage(TestEngine testEngine, java.util.List<DiscoveryIssue> issues, java.lang.String adjective)(package private) static DiscoveryIssueNotifierDiscoveryIssueNotifier. from(DiscoveryIssue.Severity criticalSeverity, java.util.List<DiscoveryIssue> issues)private voidDiscoveryIssueNotifier. logIssues(TestEngine testEngine, java.util.List<DiscoveryIssue> issues, java.lang.String adjective)Constructor parameters in org.junit.platform.launcher.core with type arguments of type DiscoveryIssue Constructor Description DiscoveryIssueNotifier(java.util.List<DiscoveryIssue> allIssues, java.util.List<DiscoveryIssue> criticalIssues, java.util.List<DiscoveryIssue> nonCriticalIssues) -
Uses of DiscoveryIssue in org.junit.platform.launcher.listeners.discovery
Methods in org.junit.platform.launcher.listeners.discovery with parameters of type DiscoveryIssue Modifier and Type Method Description voidCompositeLauncherDiscoveryListener. issueEncountered(UniqueId engineId, DiscoveryIssue issue)voidLoggingLauncherDiscoveryListener. issueEncountered(UniqueId engineId, DiscoveryIssue issue) -
Uses of DiscoveryIssue in org.junit.platform.testkit.engine
Fields in org.junit.platform.testkit.engine with type parameters of type DiscoveryIssue Modifier and Type Field Description private java.util.List<DiscoveryIssue>EngineDiscoveryResults. discoveryIssuesMethods in org.junit.platform.testkit.engine that return types with arguments of type DiscoveryIssue Modifier and Type Method Description java.util.List<DiscoveryIssue>EngineDiscoveryResults. getDiscoveryIssues(){@return the issues that were encountered during discovery}Constructor parameters in org.junit.platform.testkit.engine with type arguments of type DiscoveryIssue Constructor Description EngineDiscoveryResults(TestDescriptor engineDescriptor, java.util.List<DiscoveryIssue> discoveryIssues)
-