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.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public FilterResult | apply(TestDescriptor descriptor)
Implements org. Apply this filter to the supplied object. |
| private String | |
| private String | |
| public String |
| IncludeMethodFilter | back to summary |
|---|---|
| pack-priv IncludeMethodFilter(String... patterns) | |
| apply | back to summary |
|---|---|
| public FilterResult apply(TestDescriptor descriptor) Implements org. Doc from org. Apply this filter to the supplied object.
| |
| formatExclusionReason | back to summary |
|---|---|
| private String formatExclusionReason(@Nullable String methodName) | |
| formatInclusionReason | back to summary |
|---|---|
| private String formatInclusionReason(@Nullable String methodName, Pattern pattern) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |