Top Description Methods
org.junit.jupiter.engine.descriptor

public Interface Validatable

Known Direct Implementers
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor, org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor
Annotations
@API
status:INTERNAL
since:5.13
Static Imports
org.apiguardian.api.API.Status.INTERNAL

Interface for descriptors that can be validated during discovery.
Since
5.13

Method Summary

Modifier and TypeMethod and Description
public static void
reportAndClear(List<DiscoveryIssue> issues, DiscoveryIssueReporter reporter)

Report and clear the given list of DiscoveryIssues using the supplied DiscoveryIssueReporter.

public void
validate(DiscoveryIssueReporter reporter)

Validate the state of this descriptor and report any issues found to the supplied DiscoveryIssueReporter.

Method Detail

reportAndClearback to summary
public static void reportAndClear(List<DiscoveryIssue> issues, DiscoveryIssueReporter reporter)

Report and clear the given list of DiscoveryIssues using the supplied DiscoveryIssueReporter.

validateback to summary
public void validate(DiscoveryIssueReporter reporter)

Validate the state of this descriptor and report any issues found to the supplied DiscoveryIssueReporter.