Class IsTestTemplateMethod
java.lang.Object
org.junit.jupiter.engine.discovery.predicates.IsTestTemplateMethod
- All Implemented Interfaces:
java.util.function.Predicate<java.lang.reflect.Method>
@API(status=INTERNAL,
since="5.0")
public class IsTestTemplateMethod
extends java.lang.Object
Test if a method is a JUnit Jupiter
@TestTemplate method.- Since:
- 5.0
-
Constructor Summary
Constructors Constructor Description IsTestTemplateMethod() -
Method Summary
Modifier and Type Method Description booleantest(java.lang.reflect.Method candidate)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.Predicate
and, negate, or
-
Constructor Details
-
IsTestTemplateMethod
public IsTestTemplateMethod()
-
-
Method Details
-
test
public boolean test(java.lang.reflect.Method candidate)- Specified by:
testin interfacejava.util.function.Predicate<java.lang.reflect.Method>
-