diff options
author | rgarcia <renatao.garcia@gmail.com> | 2014-02-12 22:54:24 +1000 |
---|---|---|
committer | rgarcia <renatao.garcia@gmail.com> | 2014-02-12 22:54:24 +1000 |
commit | 9c226feed73ac5c91689b708172225fa2af82f61 (patch) | |
tree | 2da01d4c202aeead7970080a22aa92aaa2a03463 /jacoco-maven-plugin.test | |
parent | 38a27cd6745f678d29203119c7023543acacbd24 (diff) | |
download | jacoco-9c226feed73ac5c91689b708172225fa2af82f61.tar.gz |
GitHub #44: (Regression) Agent Mojo should set empty property, if
execution was skipped
Diffstat (limited to 'jacoco-maven-plugin.test')
-rw-r--r-- | jacoco-maven-plugin.test/it/it-multi-module/verify.bsh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jacoco-maven-plugin.test/it/it-multi-module/verify.bsh b/jacoco-maven-plugin.test/it/it-multi-module/verify.bsh index 432ab10a..4b5cddd8 100644 --- a/jacoco-maven-plugin.test/it/it-multi-module/verify.bsh +++ b/jacoco-maven-plugin.test/it/it-multi-module/verify.bsh @@ -22,6 +22,10 @@ if ( dump2.isFile() ) { throw new RuntimeException( "Should not be executed for module 'skip-child', but dump found : " + dump2 ); } +if ( !buildLog.contains( "argLine set to empty" ) ) { + throw new RuntimeException( "Property not set to empty when skipping." ); +} + File file = new File( basedir, "child/target/jacoco.exec" ); if ( !file.isFile() ) { |