public final class ResolvedTest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ResolvedTest.Type
Type of patterns in ResolvedTest constructor.
|
Constructor and Description |
---|
ResolvedTest(ResolvedTest.Type type,
String pattern,
boolean isRegex)
The regex
pattern is always unwrapped. |
ResolvedTest(String classPattern,
String methodPattern,
boolean isRegex)
'*' means zero or more characters
'?' means one and only one character The pattern %regex[] prefix and suffix does not appear. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getTestClassPattern()
Test class file pattern, e.g.
|
String |
getTestMethodPattern()
Test method, e.g.
|
int |
hashCode() |
boolean |
hasTestClassPattern() |
boolean |
hasTestMethodPattern() |
boolean |
isEmpty() |
boolean |
isRegexTestClassPattern() |
boolean |
isRegexTestMethodPattern() |
boolean |
shouldRun(String testClassFile,
String methodName) |
String |
toString() |
public ResolvedTest(String classPattern, String methodPattern, boolean isRegex)
pattern
is always
unwrapped by the caller.classPattern
- test class file patternmethodPattern
- test methodisRegex
- true
if regexpublic ResolvedTest(ResolvedTest.Type type, String pattern, boolean isRegex)
pattern
is always unwrapped.public String getTestClassPattern()
public boolean hasTestClassPattern()
public String getTestMethodPattern()
public boolean hasTestMethodPattern()
public boolean isRegexTestClassPattern()
public boolean isRegexTestMethodPattern()
public boolean isEmpty()
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.