Class ExcludeMethodFilter
java.lang.Object
org.junit.platform.launcher.AbstractMethodFilter
org.junit.platform.launcher.ExcludeMethodFilter
- 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 class will be excluded.
- 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, Pattern pattern) private StringformatInclusionReason(String methodName) 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