Debian Codegraph @

src/it/JavaSourcesDefault/verify.groovy

raw
1 log = new File( basedir, 'build.log' )
2 assert log.exists()
3 fooClazz = new File( basedir, 'src/main/java/foo/Clazz.java' )
4 execLine = log.readLines().find { line -> line.contains( ' Running : ajc ' ) }
5 assert execLine.toUpperCase().endsWith( fooClazz.getAbsolutePath().toUpperCase() )