| groovy.util.GroovyTestCase org.codehaus.groovy.classgen.TestSupport
All known Subclasses: org.codehaus.groovy.classgen.ForTest, org.codehaus.groovy.classgen.ClassCompletionVerifierTest, org.codehaus.groovy.classgen.GetPropertyTest, org.codehaus.groovy.classgen.GroovyClassLoaderTest, org.codehaus.groovy.classgen.GStringTest, org.codehaus.groovy.classgen.ConstructorTest, org.codehaus.groovy.classgen.MethodTest, org.codehaus.groovy.classgen.RunBugsTest, org.codehaus.groovy.wiki.RunWikiTest, org.codehaus.groovy.classgen.MainTest, org.codehaus.groovy.classgen.PropertyTest, org.codehaus.groovy.classgen.IfElseTest, org.codehaus.groovy.classgen.RunGroovyTest, org.codehaus.groovy.classgen.RunClosureTest, org.codehaus.groovy.classgen.TupleListTest,
Method Summary | |
protected void | assertField(Class aClass, String name, int modifiers, ClassNode type) | protected void | assertGetProperty(Object bean, String property, Object expected) | protected void | assertScript(String text) | protected void | assertScript(String text, String scriptName) | protected void | assertScriptFile(String fileName) | protected void | assertSetProperty(Object bean, String property, Object newValue) | protected GroovyObject | compile(String fileName) | protected ExpressionStatement | createPrintlnStatement(Expression expression) | protected PropertyDescriptor | getDescriptor(Object bean, String property) | protected Object | invokeMethod(Object bean, Method method, Object[] args) | protected Class | loadClass(ClassNode classNode) |
DUMP_CLASS | protected static boolean DUMP_CLASS(Code) | | |
assertScript | protected void assertScript(String text) throws Exception(Code) | | Asserts that the script runs without any exceptions
|
|
|