Class ResolvedTest
java.lang.Object
org.apache.maven.surefire.api.testset.ResolvedTest
Deprecated.
will be renamed to ResolvedTestPattern
Single pattern test filter resolved from multi pattern filter -Dtest=MyTest#test,AnotherTest#otherTest.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumDeprecated.Type of patterns in ResolvedTest constructor.
- 
Constructor SummaryConstructorsConstructorDescriptionResolvedTest(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.ResolvedTest(ResolvedTest.Type type, String pattern, boolean isRegex) Deprecated.The regexpatternis always unwrapped.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanDeprecated.Deprecated.Test class file pattern, e.g.Deprecated.Test method, e.g.inthashCode()Deprecated.booleanDeprecated.booleanDeprecated.booleanisEmpty()Deprecated.booleanDeprecated.booleanDeprecated.booleanmatchAsExclusive(String testClassFile, String methodName) Deprecated.booleanmatchAsInclusive(String testClassFile, String methodName) Deprecated.toString()Deprecated.
- 
Constructor Details- 
ResolvedTestDeprecated.'*' means zero or more characters
 '?' means one and only one character The pattern %regex[] prefix and suffix does not appear. The regex pattern is always unwrapped by the caller.- Parameters:
- classPattern- test class file pattern
- methodPattern- test method
- isRegex-- trueif pattern is regex
 
- 
ResolvedTestDeprecated.The regexpatternis always unwrapped.- Parameters:
- type- class or method
- pattern- pattern or regex
- isRegex-- trueif pattern is regex
 
 
- 
- 
Method Details- 
getTestClassPatternDeprecated.Test class file pattern, e.g. org/**/Cat*.class
 , or null if not any andhasTestClassPattern()returns false. Other examples: org/animals/Cat*, org/animals/Ca?.class, %regex[Cat.class|Dog.*]
 
 '*' means zero or more characters
 '?' means one and only one character- Returns:
- class pattern or regex
 
- 
hasTestClassPatternpublic boolean hasTestClassPattern()Deprecated.
- 
getTestMethodPatternDeprecated.Test method, e.g. "realTestMethod".
 , or null if not any andhasTestMethodPattern()returns false. Other examples: test* or testSomethin? or %regex[testOne|testTwo] or %ant[testOne|testTwo]
 
 '*' means zero or more characters
 '?' means one and only one character- Returns:
- method pattern or regex
 
- 
hasTestMethodPatternpublic boolean hasTestMethodPattern()Deprecated.
- 
isRegexTestClassPatternpublic boolean isRegexTestClassPattern()Deprecated.
- 
isRegexTestMethodPatternpublic boolean isRegexTestMethodPattern()Deprecated.
- 
isEmptypublic boolean isEmpty()Deprecated.
- 
matchAsInclusiveDeprecated.
- 
matchAsExclusiveDeprecated.
- 
equalsDeprecated.
- 
hashCodepublic int hashCode()Deprecated.
- 
toStringDeprecated.
 
-