@Deprecated public final class ResolvedTest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ResolvedTest.Type
Deprecated.
Type of patterns in ResolvedTest constructor.
|
| Constructor and Description |
|---|
ResolvedTest(ResolvedTest.Type type,
String pattern,
boolean isRegex)
Deprecated.
The regex
pattern is always unwrapped. |
ResolvedTest(String classPattern,
String methodPattern,
boolean isRegex)
Deprecated.
'*' 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)
Deprecated.
|
String |
getTestClassPattern()
Deprecated.
Test class file pattern, e.g.
|
String |
getTestMethodPattern()
Deprecated.
Test method, e.g.
|
int |
hashCode()
Deprecated.
|
boolean |
hasTestClassPattern()
Deprecated.
|
boolean |
hasTestMethodPattern()
Deprecated.
|
boolean |
isEmpty()
Deprecated.
|
boolean |
isRegexTestClassPattern()
Deprecated.
|
boolean |
isRegexTestMethodPattern()
Deprecated.
|
boolean |
matchAsExclusive(String testClassFile,
String methodName)
Deprecated.
|
boolean |
matchAsInclusive(String testClassFile,
String methodName)
Deprecated.
|
String |
toString()
Deprecated.
|
public ResolvedTest(String classPattern, String methodPattern, boolean isRegex)
classPattern - test class file patternmethodPattern - test methodisRegex - true if pattern is regexpublic ResolvedTest(ResolvedTest.Type type, String pattern, boolean isRegex)
pattern is always unwrapped.type - class or methodpattern - pattern or regexisRegex - true if pattern is regexpublic String getTestClassPattern()
hasTestClassPattern() returns false.
Other examples: org/animals/Cat*, org/animals/Ca?.class, %regex[Cat.class|Dog.*]public boolean hasTestClassPattern()
public String getTestMethodPattern()
hasTestMethodPattern() returns false.
Other examples: test* or testSomethin? or %regex[testOne|testTwo] or %ant[testOne|testTwo]public boolean hasTestMethodPattern()
public boolean isRegexTestClassPattern()
public boolean isRegexTestMethodPattern()
public boolean isEmpty()
public boolean matchAsInclusive(String testClassFile, String methodName)
public boolean matchAsExclusive(String testClassFile, String methodName)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.