Interface Validatable
-
- All Known Implementing Classes:
ClassBasedTestDescriptor,ClassTemplateTestDescriptor,ClassTestDescriptor,MethodBasedTestDescriptor,NestedClassTestDescriptor,TestFactoryTestDescriptor,TestMethodTestDescriptor,TestTemplateInvocationTestDescriptor,TestTemplateTestDescriptor
@API(status=INTERNAL, since="5.13") public interface ValidatableInterface for descriptors that can be validated during discovery.- Since:
- 5.13
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static voidreportAndClear(java.util.List<DiscoveryIssue> issues, DiscoveryIssueReporter reporter)Report and clear the given list ofDiscoveryIssues using the suppliedDiscoveryIssueReporter.voidvalidate(DiscoveryIssueReporter reporter)Validate the state of this descriptor and report any issues found to the suppliedDiscoveryIssueReporter.
-
-
-
Method Detail
-
validate
void validate(DiscoveryIssueReporter reporter)
Validate the state of this descriptor and report any issues found to the suppliedDiscoveryIssueReporter.
-
reportAndClear
static void reportAndClear(java.util.List<DiscoveryIssue> issues, DiscoveryIssueReporter reporter)
Report and clear the given list ofDiscoveryIssues using the suppliedDiscoveryIssueReporter.
-
-