mirror of https://github.com/apache/maven.git
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:
parent
b2f3f13050
commit
78dffb6534
|
@ -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" );
|
||||||
|
|
Loading…
Reference in New Issue