|
Griffon 1.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.codehaus.griffon.test.GriffonTestTargetPattern
class GriffonTestTargetPattern
A pattern passed to `griffon test-app` that targets one or more tests and potentially a single method Examples:
Property Summary | |
---|---|
String |
classPattern
The target pattern as it applies to class names, without a methodName component |
String |
filePattern
The target pattern as it applies to the file system (i.e. suitable for use with a PathMatchingResourcePatternResolver) |
String |
methodName
The method name component if it is present |
String |
rawPattern
The pattern, unchanged |
Constructor Summary | |
GriffonTestTargetPattern(String pattern)
|
Method Summary | |
---|---|
protected def
|
classPatternToFilePattern(def pattern)
|
protected boolean
|
containsMethodName(def pattern)
|
boolean
|
isMethodTargeting()
|
boolean
|
matches(String className, String methodName, String[] suffixes)
|
boolean
|
matchesClass(String className, String[] suffixes)
|
protected boolean
|
matchesClassWithExtension(String className)
|
protected boolean
|
matchesClassWithoutExtension(String className, String[] suffixes)
|
boolean
|
matchesMethod(String methodName)
|
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail |
---|
final String classPattern
final String filePattern
final String methodName
final String rawPattern
Constructor Detail |
---|
GriffonTestTargetPattern(String pattern)
Method Detail |
---|
protected def classPatternToFilePattern(def pattern)
protected boolean containsMethodName(def pattern)
boolean isMethodTargeting()
boolean matches(String className, String methodName, String[] suffixes)
boolean matchesClass(String className, String[] suffixes)
protected boolean matchesClassWithExtension(String className)
protected boolean matchesClassWithoutExtension(String className, String[] suffixes)
boolean matchesMethod(String methodName)
String toString()
Groovy Documentation