|
Groovy example source code file (StringReaderSourceTest.groovy)
The Groovy StringReaderSourceTest.groovy source code
package org.codehaus.groovy.control.io
import org.codehaus.groovy.control.CompilerConfiguration
class StringReaderSourceTest extends GroovyTestCase {
void testFileReaderCanNotBeReopened() {
def dummyString = "return false"
def writer = new StringReaderSource( dummyString, CompilerConfiguration.DEFAULT )
assert writer.canReopenSource()
}
}
Other Groovy examples (source code examples)Here is a short list of links related to this Groovy StringReaderSourceTest.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.