|
Groovy example source code file (Groovy3719Bug.groovy)
The Groovy Groovy3719Bug.groovy source code
package groovy.bugs
class Groovy3719Bug extends GroovyTestCase {
void testScriptThrowingNoSuchMethodException() {
try {
GroovyShell shell = new GroovyShell();
String[] args = new String[0];
shell.run(new File("src/test/groovy/bugs/Groovy3719Bug_script.groovy"), args);
} catch(ex) {
assert ex instanceof NoSuchMethodException
}
}
}
Other Groovy examples (source code examples)Here is a short list of links related to this Groovy Groovy3719Bug.groovy source code file: |
Other websites by Alvin Alexander:
Life/living in Alaska (OneMansAlaska.com)
How I Sold My Business (HowISoldMyBusiness.com)
Copyright 1998-2011 Alvin Alexander, devdaily.com
All Rights Reserved.