public interface TestSelector
Modifier and Type | Method and Description |
---|---|
boolean |
containsClassPath(String classPath) |
String |
getExplanation() |
String |
getRawSelector() |
boolean |
isInclusive() |
boolean |
isMatchAnyClass() |
boolean |
isMatchAnyMethod() |
boolean |
matches(TestDescription description)
Whether this
TestSelector matches the given TestDescription . |
boolean |
matchesClassName(String className) |
String getRawSelector()
String getExplanation()
boolean isInclusive()
boolean isMatchAnyClass()
boolean isMatchAnyMethod()
boolean matches(TestDescription description)
TestSelector
matches the given TestDescription
. A class or method
name being null in the TestDescription
means that it will match anything.description
- the TestDescription
to matchTestDescription
boolean matchesClassName(String className)
boolean containsClassPath(String classPath)