"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/test/org/codehaus/groovy/classgen/asm/sc/MiscStaticCompileTest.groovy" between
apache-groovy-src-3.0.8.zip and apache-groovy-src-3.0.9.zip

About: Groovy is an agile dynamic (scripting) language for the Java Platform. It has features similar to those of Python, Ruby, Perl, and Smalltalk. Source release.

MiscStaticCompileTest.groovy  (apache-groovy-src-3.0.8):MiscStaticCompileTest.groovy  (apache-groovy-src-3.0.9)
skipping to change at line 34 skipping to change at line 34
* Unit tests for static type checking : miscellaneous tests. * Unit tests for static type checking : miscellaneous tests.
*/ */
class MiscStaticCompileTest extends MiscSTCTest implements StaticCompilationTest Support { class MiscStaticCompileTest extends MiscSTCTest implements StaticCompilationTest Support {
void testEachFileRecurse() { void testEachFileRecurse() {
assertScript '''import groovy.io.FileType assertScript '''import groovy.io.FileType
File dir = File.createTempDir() File dir = File.createTempDir()
for(int i in 1..3){ for(int i in 1..3){
new File(dir, "testEachFileRecurse${i}.txt").createNewFile() new File(dir, "testEachFileRecurse${i}.txt").createNewFile()
} }
dir.eachFileRecurse(FileType.FILES) { File spec -> dir.eachFileRecurse(FileType.FILES) { File spec ->
} }
dir.deleteDir() dir.deleteDir()
''' '''
} }
@Override
void testCompareEnumToNull() {
super.testCompareEnumToNull()
}
} }
 End of changes. 3 change blocks. 
7 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)