Class GlobFilter
java.lang.Object
org.junit.runner.manipulation.Filter
com.carrotsearch.randomizedtesting.GlobFilter
- Direct Known Subclasses:
ClassGlobFilter
,MethodGlobFilter
public abstract class GlobFilter
extends org.junit.runner.manipulation.Filter
A filter that matches something using globbing (*) pattern.
-
Field Summary
FieldsFields inherited from class org.junit.runner.manipulation.Filter
ALL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
describe()
protected final boolean
globMatches
(String string) Check if a given string matches the glob.private Pattern
globToPattern
(String glob) Simplified conversion to a regexp.abstract boolean
shouldRun
(org.junit.runner.Description description) Methods inherited from class org.junit.runner.manipulation.Filter
apply, intersect, matchMethodDescription
-
Field Details
-
globPattern
-
pattern
-
-
Constructor Details
-
GlobFilter
-
-
Method Details
-
globMatches
Check if a given string matches the glob. -
globToPattern
Simplified conversion to a regexp. -
shouldRun
public abstract boolean shouldRun(org.junit.runner.Description description) - Specified by:
shouldRun
in classorg.junit.runner.manipulation.Filter
-
describe
- Specified by:
describe
in classorg.junit.runner.manipulation.Filter
-