Class IsTestMethod
java.lang.Object
org.junit.jupiter.engine.discovery.predicates.IsTestMethod
Test if a method is a JUnit Jupiter
@Test method.- Since:
- 5.0
-
Constructor Summary
ConstructorsConstructorDescriptionIsTestMethod(org.junit.platform.engine.support.discovery.DiscoveryIssueReporter issueReporter) -
Method Summary
Modifier and TypeMethodDescriptionprotected static org.junit.platform.engine.DiscoveryIssuecreateIssue(Class<? extends Annotation> annotationType, Method method, String condition) protected static org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition<Method> hasVoidReturnType(Class<? extends Annotation> annotationType, org.junit.platform.engine.support.discovery.DiscoveryIssueReporter issueReporter) boolean
-
Constructor Details
-
IsTestMethod
public IsTestMethod(org.junit.platform.engine.support.discovery.DiscoveryIssueReporter issueReporter)
-
-
Method Details
-
test
-
hasVoidReturnType
protected static org.junit.platform.engine.support.discovery.DiscoveryIssueReporter.Condition<Method> hasVoidReturnType(Class<? extends Annotation> annotationType, org.junit.platform.engine.support.discovery.DiscoveryIssueReporter issueReporter) -
createIssue
protected static org.junit.platform.engine.DiscoveryIssue createIssue(Class<? extends Annotation> annotationType, Method method, String condition)
-