代码搜索:Groovy
找到约 1,738 项符合「Groovy」的源代码
代码结果 1,738
www.eeworm.com/read/171479/5395070
groovy groovy662.groovy
package groovy.bugs
// The order of the classes is crucial, the first must be the GroovyTestCase. Its name doesn't
// matter it just has to be first.
/**
* Test class and support to realize the
www.eeworm.com/read/171479/5395105
groovy groovy872.groovy
package groovy.bugs
class Groovy872 extends GroovyTestCase {
void testScript ( ) {
assertScript ( """
def cal = new GregorianCalendar ( )
cal.set ( Calendar.DAY_OF_MONTH , 1 )
println ( cal.get
www.eeworm.com/read/275576/4174483
groovy groovy662.groovy
package groovy.bugs
// The order of the classes is crucial, the first must be the GroovyTestCase. Its name doesn't
// matter it just has to be first.
/**
* Test class and support to realiz
www.eeworm.com/read/275576/4174519
groovy groovy872.groovy
package groovy.bugs
class Groovy872 extends GroovyTestCase {
void testScript ( ) {
assertScript ( """
def cal = new GregorianCalendar ( )
cal.set ( Calendar.DAY_OF_MONTH , 1 )
println (
www.eeworm.com/read/171479/5394999
groovy groovy325_bug.groovy
class Groovy325_Bug extends GroovyTestCase {
static boolean staticMethod() {
return true
}
void testCallStaticMethodFromClosure() {
def c = { staticMethod() }
assert c()
}
}
www.eeworm.com/read/171479/5395012
groovy groovy303_bug.groovy
package groovy.bugs
import java.awt.*
import java.awt.event.*
import javax.swing.*
/**
* @author Bing Ran
* @author Andy Dwelly
* @version $Revision: 1.4 $
*/
class Groovy303_Bug extends Groovy
www.eeworm.com/read/171479/5395016
groovy groovy249_bug.groovy
import groovy.xml.MarkupBuilder
/**
* @author Merrick Schincariol
* @version $Revision: 1.9 $
*/
class Groovy249_Bug extends GroovyTestCase {
void testBug() {
def t = new Bean249()
t.b =
www.eeworm.com/read/171479/5395035
groovy groovy675_bug.groovy
package groovy.bugs
/**
* @author Pilho Kim
* @version $Revision: 1.4 $
*/
class Groovy675_Bug extends GroovyTestCase {
void testStringAndGString() {
assert "\\"!="\\\\"
assert "\\\$"=="
www.eeworm.com/read/171479/5395036
groovy groovy831_bug.groovy
package groovy.bugs
/**
* Test for fixing the Jira issue GROOVY-831
*
* @author Pilho Kim
* @version $Revision: 1.2 $
*/
class Groovy831_Bug extends GroovyTestCase {
String[]
www.eeworm.com/read/171479/5395041
groovy groovy252_bug.groovy
/**
* @version $Revision: 1.5 $
*/
class Groovy252_Bug extends GroovyTestCase {
def count = 0
void testBug() {
def value = f()
assert value == null