o Stabilized IT to create proper pre-conditions independently from the previous test runs

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@780076 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-05-29 19:02:37 +00:00
parent b2f3f13050
commit 78dffb6534
1 changed files with 3 additions and 0 deletions

View File

@ -136,6 +136,9 @@ public class MavenITmng3023ReactorDependencyResolutionTest
List compileClassPath = verifier.loadLines( "consumer/target/compile.classpath", "UTF-8" ); List compileClassPath = verifier.loadLines( "consumer/target/compile.classpath", "UTF-8" );
assertTrue( compileClassPath.toString(), compileClassPath.contains( "dependency-1.jar" ) ); assertTrue( compileClassPath.toString(), compileClassPath.contains( "dependency-1.jar" ) );
assertFalse( compileClassPath.toString(), compileClassPath.contains( "dependency-classes" ) ); assertFalse( compileClassPath.toString(), compileClassPath.contains( "dependency-classes" ) );
// The IT doesn't actually run the compiler but merely mimics its effect, i.e. the creation of the output dir
new File( testDir, "dependency/dependency-classes" ).mkdirs();
verifier.deleteDirectory( "consumer/target" ); verifier.deleteDirectory( "consumer/target" );
verifier.setLogFileName( "log-c-2.txt" ); verifier.setLogFileName( "log-c-2.txt" );