o Used distinct log files for each test

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1056008 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2011-01-06 18:48:37 +00:00
parent 67f87669c1
commit 981d7365c1
1 changed files with 4 additions and 0 deletions

View File

@ -51,11 +51,13 @@ public class MavenITmng3746POMPropertyOverrideTest
Verifier verifier;
verifier = newVerifier( pluginDir.getAbsolutePath(), "remote" );
verifier.setLogFileName( "log-sys.txt" );
verifier.executeGoal( "install" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
verifier = newVerifier( projectDir.getAbsolutePath() );
verifier.setLogFileName( "log-sys.txt" );
verifier.executeGoal( "validate" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
@ -73,11 +75,13 @@ public class MavenITmng3746POMPropertyOverrideTest
Verifier verifier;
verifier = newVerifier( pluginDir.getAbsolutePath(), "remote" );
verifier.setLogFileName( "log-cli.txt" );
verifier.executeGoal( "install" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
verifier = newVerifier( projectDir.getAbsolutePath() );
verifier.setLogFileName( "log-cli.txt" );
verifier.getCliOptions().add( "-Dtest.verification=cli" );
verifier.getCliOptions().add( "-Dtest.usingCliValue=true" );