Class IncludeMethodFilter
java.lang.Object
org.junit.platform.launcher.AbstractMethodFilter
org.junit.platform.launcher.IncludeMethodFilter
- All Implemented Interfaces:
Filter<TestDescriptor>, MethodFilter, PostDiscoveryFilter
MethodFilter that matches fully qualified method names against
patterns in the form of regular expressions.
If the fully qualified name of a method matches against at least one pattern, the method will be included.
- Since:
- 1.12
-
Field Summary
Fields inherited from class AbstractMethodFilter
patternDescription, patterns -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(TestDescriptor descriptor) Apply this filter to the supplied object.private StringformatExclusionReason(String methodName) private StringformatInclusionReason(String methodName, Pattern pattern) toString()Methods inherited from class AbstractMethodFilter
findMatchingPattern, getFullyQualifiedMethodNameFromDescriptorMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Filter
toPredicate