- All Superinterfaces:
Filter<TestDescriptor>
,PostDiscoveryFilter
PostDiscoveryFilter
that is applied to the fully qualified
Method
name without parameters.- Since:
- 1.12
- See Also:
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic MethodFilter
excludeMethodNamePatterns
(String... patterns) Create a new excludeMethodFilter
based on the supplied patterns.static MethodFilter
excludeMethodNamePatterns
(List<String> patterns) Create a new excludeMethodFilter
based on the supplied patterns.static MethodFilter
includeMethodNamePatterns
(String... patterns) Create a new includeMethodFilter
based on the supplied patterns.static MethodFilter
includeMethodNamePatterns
(List<String> patterns) Create a new includeMethodFilter
based on the supplied patterns.Methods inherited from interface org.junit.platform.engine.Filter
apply, toPredicate
-
Method Details
-
includeMethodNamePatterns
Create a new includeMethodFilter
based on the supplied patterns.The patterns are combined using OR semantics, i.e. if the fully qualified name of a method matches against at least one of the patterns, the method will be included in the result set.
- Parameters:
patterns
- regular expressions to match against fully qualified method names; nevernull
, empty, or containingnull
- See Also:
-
includeMethodNamePatterns
Create a new includeMethodFilter
based on the supplied patterns.The patterns are combined using OR semantics, i.e. if the fully qualified name of a method matches against at least one of the patterns, the method will be included in the result set.
- Parameters:
patterns
- regular expressions to match against fully qualified method names; nevernull
, empty, or containingnull
- See Also:
-
excludeMethodNamePatterns
Create a new excludeMethodFilter
based on the supplied patterns.The patterns are combined using OR semantics, i.e. if the fully qualified name of a method matches against at least one of the patterns, the method will be excluded from the result set.
- Parameters:
patterns
- regular expressions to match against fully qualified method names; nevernull
, empty, or containingnull
- See Also:
-
excludeMethodNamePatterns
Create a new excludeMethodFilter
based on the supplied patterns.The patterns are combined using OR semantics, i.e. if the fully qualified name of a method matches against at least one of the patterns, the method will be excluded from the result set.
- Parameters:
patterns
- regular expressions to match against fully qualified method names; nevernull
, empty, or containingnull
- See Also:
-