Class AbstractMethodFilter
java.lang.Object
org.junit.platform.launcher.AbstractMethodFilter
- All Implemented Interfaces:
Filter<TestDescriptor>, MethodFilter, PostDiscoveryFilter
- Direct Known Subclasses:
ExcludeMethodFilter, IncludeMethodFilter
Abstract
MethodFilter that servers as a superclass
for filters including or excluding fully qualified method names
without parameters based on pattern-matching.- Since:
- 1.12
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindMatchingPattern(String methodName) protected Stringprivate StringgetFullyQualifiedMethodNameWithoutParameters(MethodSource methodSource) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Filter
apply, toPredicate
-
Field Details
-
patterns
-
patternDescription
-
-
Constructor Details
-
AbstractMethodFilter
AbstractMethodFilter(String... patterns)
-
-
Method Details
-
findMatchingPattern
-
getFullyQualifiedMethodNameFromDescriptor
-
getFullyQualifiedMethodNameWithoutParameters
-