Module org.junit.platform.commons
Package org.junit.platform.commons.util
Class ClassNamePatternFilterUtils
java.lang.Object
org.junit.platform.commons.util.ClassNamePatternFilterUtils
Collection of utilities for creating filters based on class names.
DISCLAIMER
These utilities are intended solely for usage within the JUnit framework itself. Any usage by external parties is not supported. Use at your own risk!
- Since:
- 1.7
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Predicate<T>
excludeMatchingClasses
(String patterns) Create aPredicate
that can be used to exclude (i.e., filter out) objects of typeT
whose fully qualified class names match any of the supplied patterns.excludeMatchingClassNames
(String patterns) Create aPredicate
that can be used to exclude (i.e., filter out) fully qualified class names matching any of the supplied patterns.
-
Field Details
-
DEACTIVATE_ALL_PATTERN
- See Also:
-
-
Method Details
-
excludeMatchingClasses
Create aPredicate
that can be used to exclude (i.e., filter out) objects of typeT
whose fully qualified class names match any of the supplied patterns.- Parameters:
patterns
- a comma-separated list of patterns
-
excludeMatchingClassNames
Create aPredicate
that can be used to exclude (i.e., filter out) fully qualified class names matching any of the supplied patterns.- Parameters:
patterns
- a comma-separated list of patterns
-