use of groovy.lang.GroovyObject in project groovy-core by groovy.
the class RunBugsTest method testGuillaumesMapBug.
public void testGuillaumesMapBug() throws Exception {
GroovyObject object = compile("src/test/groovy/bugs/GuillaumesMapBug.groovy");
object.invokeMethod("testBug", null);
}
use of groovy.lang.GroovyObject in project groovy-core by groovy.
the class RunBugsTest method testNestedClosureBug.
public void testNestedClosureBug() throws Exception {
GroovyObject object = compile("src/test/groovy/bugs/NestedClosure2Bug.groovy");
object.invokeMethod("testFieldBug", null);
}
use of groovy.lang.GroovyObject in project groovy-core by groovy.
the class RunBugsTest method testSuperMethod2Bug.
public void testSuperMethod2Bug() throws Exception {
GroovyObject object = compile("src/test/groovy/bugs/SuperMethod2Bug.groovy");
object.invokeMethod("testBug", null);
}
use of groovy.lang.GroovyObject in project groovy-core by groovy.
the class RunClosureTest method testBytecode3Bug.
public void testBytecode3Bug() throws Exception {
GroovyObject object = compile("src/test/groovy/bugs/Bytecode3Bug.groovy");
//object.invokeMethod("testInject", null);
object.invokeMethod("testIncrementPropertyInclosure", null);
}
use of groovy.lang.GroovyObject in project groovy-core by groovy.
the class RunClosureTest method testBytecode5Bug.
public void testBytecode5Bug() throws Exception {
GroovyObject object = compile("src/test/groovy/bugs/Bytecode5Bug.groovy");
object.invokeMethod("testUsingLocalVar", null);
}
Aggregations