[MNG-4254] improve speed of tests

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@798745 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2009-07-29 01:44:14 +00:00
parent be1560443d
commit 3c81dccddd
1 changed files with 2 additions and 4 deletions

View File

@ -56,12 +56,11 @@ public class MavenITmng4254SelectableWagonProvidersTest
verifier.setCliOptions( cliOptions );
verifier.setLogFileName( "log-cli.txt" );
verifier.executeGoal( "deploy" );
verifier.executeGoal( "validate" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
assertTrue( "target/wagon.properties should exist.", new File( testDir, "target/wagon.properties" ).exists() );
Properties props = verifier.loadProperties( "target/wagon-impl.properties" );
assertEquals( "org.apache.maven.wagon.providers.coreit.CoreItHttpWagon", props.getProperty( "wagon.class" ) );
}
@ -81,12 +80,11 @@ public class MavenITmng4254SelectableWagonProvidersTest
verifier.setCliOptions( cliOptions );
verifier.setLogFileName( "log-settings.txt" );
verifier.executeGoal( "deploy" );
verifier.executeGoal( "validate" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
assertTrue( "target/wagon.properties should exist.", new File( testDir, "target/wagon.properties" ).exists() );
Properties props = verifier.loadProperties( "target/wagon-impl.properties" );
assertEquals( "org.apache.maven.wagon.providers.coreit.CoreItHttpWagon", props.getProperty( "wagon.class" ) );
}