Class IsTestableMethod
- java.lang.Object
-
- org.junit.jupiter.engine.discovery.predicates.IsTestableMethod
-
- All Implemented Interfaces:
java.util.function.Predicate<java.lang.reflect.Method>
- Direct Known Subclasses:
IsTestFactoryMethod
,IsTestMethod
,IsTestTemplateMethod
abstract class IsTestableMethod extends java.lang.Object implements java.util.function.Predicate<java.lang.reflect.Method>
- Since:
- 5.0
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class<? extends java.lang.annotation.Annotation>
annotationType
private boolean
mustReturnVoid
-
Constructor Summary
Constructors Constructor Description IsTestableMethod(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, boolean mustReturnVoid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(java.lang.reflect.Method candidate)
-