Skip to content

Commit

Permalink
feat(#23): add checks for the integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Dec 25, 2023
1 parent 7a225bd commit 9b7ac79
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/it/decompile-compile/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@
*/
//Check logs first.
String log = new File(basedir, 'build.log').text;
//assert log.contains("Application.class translated into Application.xmir")
//assert log.contains("Foo.class translated into Foo.xmir")
//assert log.contains("WithoutPackage.class translated into WithoutPackage.xmir")
assert log.contains("opeo-maven-plugin: started decompiling bytecode into EO")
assert log.contains("opeo-maven-plugin: started compiling EO into low-level representation")
assert log.contains("BUILD SUCCESS")
//Check that we have generated XMIR object file.
//assert new File(basedir, 'target/generated-sources/xmir/org/eolang/jeo/Application.xmir').exists()
//assert new File(basedir, 'target/generated-sources/eo/org/eolang/jeo/Application.eo').exists()
true

0 comments on commit 9b7ac79

Please sign in to comment.