public class JUnitUtil extends Object implements groovy.lang.GroovyObject
| Constructor and Description |
|---|
JUnitUtil() |
| Modifier and Type | Method and Description |
|---|---|
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
protected static boolean |
isAssertCallWithConstantValue(org.codehaus.groovy.ast.expr.MethodCallExpression methodCall,
String methodName,
Object value) |
protected static boolean |
isAssertCallWithLiteralValue(org.codehaus.groovy.ast.expr.MethodCallExpression methodCall,
String methodName,
boolean literalEvaluatesToTrue) |
protected static boolean |
isAssertCallWithNonNullConstantValue(org.codehaus.groovy.ast.expr.MethodCallExpression methodCall,
String methodName) |
protected static boolean |
isSetUpMethod(org.codehaus.groovy.ast.MethodNode methodNode) |
protected static boolean |
isTearDownMethod(org.codehaus.groovy.ast.MethodNode methodNode) |
static boolean |
isTestMethod(org.codehaus.groovy.ast.ASTNode node) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectprotected static boolean isAssertCallWithConstantValue(org.codehaus.groovy.ast.expr.MethodCallExpression methodCall,
String methodName,
Object value)
protected static boolean isAssertCallWithNonNullConstantValue(org.codehaus.groovy.ast.expr.MethodCallExpression methodCall,
String methodName)
protected static boolean isAssertCallWithLiteralValue(org.codehaus.groovy.ast.expr.MethodCallExpression methodCall,
String methodName,
boolean literalEvaluatesToTrue)
protected static boolean isSetUpMethod(org.codehaus.groovy.ast.MethodNode methodNode)
protected static boolean isTearDownMethod(org.codehaus.groovy.ast.MethodNode methodNode)
public static boolean isTestMethod(org.codehaus.groovy.ast.ASTNode node)
Copyright © 2021. All rights reserved.