use of groovy.lang.GroovyObject in project groovy-core by groovy.
the class RunBugsTest method testPrimitiveTypeFieldTest.
public void testPrimitiveTypeFieldTest() throws Exception {
GroovyObject object = compile("src/test/groovy/PrimitiveTypeFieldTest.groovy");
object.invokeMethod("testPrimitiveField", null);
}
use of groovy.lang.GroovyObject in project groovy-core by groovy.
the class RunBugsTest method testUseStaticInClosure.
public void testUseStaticInClosure() throws Exception {
GroovyObject object = compile("src/test/groovy/bugs/UseStaticInClosureBug.groovy");
object.invokeMethod("testBug2", null);
}
use of groovy.lang.GroovyObject in project groovy-core by groovy.
the class RunClosureTest method testPropertyTest.
public void testPropertyTest() throws Exception {
GroovyObject object = compile("src/test/groovy/PropertyTest.groovy");
object.invokeMethod("testNormalPropertyGettersAndSetters", null);
}
use of groovy.lang.GroovyObject in project groovy-core by groovy.
the class RunClosureTest method testBytecode4Bug.
public void testBytecode4Bug() throws Exception {
GroovyObject object = compile("src/test/groovy/bugs/Bytecode4Bug.groovy");
object.invokeMethod("testInject", null);
object.invokeMethod("testUsingProperty", null);
}
use of groovy.lang.GroovyObject in project groovy-core by groovy.
the class RunClosureTest method testClosure.
public void testClosure() throws Exception {
GroovyObject object = compile("src/test/groovy/ClosureUsingOuterVariablesTest.groovy");
object.invokeMethod("testExampleUseOfClosureScopesUsingEach", null);
}
Aggregations