mirror of https://github.com/apache/maven.git
[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:
parent
be1560443d
commit
3c81dccddd
|
@ -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" ) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue