- All Known Implementing Classes:
ClassBasedTestDescriptor
,ClassTemplateTestDescriptor
,ClassTestDescriptor
,MethodBasedTestDescriptor
,NestedClassTestDescriptor
,TestFactoryTestDescriptor
,TestMethodTestDescriptor
,TestTemplateInvocationTestDescriptor
,TestTemplateTestDescriptor
Interface for descriptors that can be validated during discovery.
- Since:
- 5.13
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
reportAndClear
(List<DiscoveryIssue> issues, DiscoveryIssueReporter reporter) Report and clear the given list ofDiscoveryIssue
s using the suppliedDiscoveryIssueReporter
.void
validate
(DiscoveryIssueReporter reporter) Validate the state of this descriptor and report any issues found to the suppliedDiscoveryIssueReporter
.
-
Method Details
-
validate
Validate the state of this descriptor and report any issues found to the suppliedDiscoveryIssueReporter
. -
reportAndClear
Report and clear the given list ofDiscoveryIssue
s using the suppliedDiscoveryIssueReporter
.
-