maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r399144 - in /maven/plugins/trunk/maven-release-plugin/src/test/java/org/apache/maven/plugins/release/phase: RewritePomsForDevelopmentPhaseTest.java RewritePomsForReleasePhaseTest.java
Date Wed, 03 May 2006 05:22:30 GMT
Author: brett
Date: Tue May  2 22:22:28 2006
New Revision: 399144

URL: http://svn.apache.org/viewcvs?rev=399144&view=rev
Log:
[MRELEASE-98] fix phase tests

Modified:
    maven/plugins/trunk/maven-release-plugin/src/test/java/org/apache/maven/plugins/release/phase/RewritePomsForDevelopmentPhaseTest.java
    maven/plugins/trunk/maven-release-plugin/src/test/java/org/apache/maven/plugins/release/phase/RewritePomsForReleasePhaseTest.java

Modified: maven/plugins/trunk/maven-release-plugin/src/test/java/org/apache/maven/plugins/release/phase/RewritePomsForDevelopmentPhaseTest.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-release-plugin/src/test/java/org/apache/maven/plugins/release/phase/RewritePomsForDevelopmentPhaseTest.java?rev=399144&r1=399143&r2=399144&view=diff
==============================================================================
--- maven/plugins/trunk/maven-release-plugin/src/test/java/org/apache/maven/plugins/release/phase/RewritePomsForDevelopmentPhaseTest.java
(original)
+++ maven/plugins/trunk/maven-release-plugin/src/test/java/org/apache/maven/plugins/release/phase/RewritePomsForDevelopmentPhaseTest.java
Tue May  2 22:22:28 2006
@@ -74,8 +74,7 @@
         config.mapReleaseVersion( "groupId:artifactId", RELEASE_VERSION );
         config.mapDevelopmentVersion( "groupId:artifactId", NEXT_VERSION );
 
-        File testFile =
-            getTestFile( "target/test-classes/projects/rewrite-for-development/" + "basic-pom/pom.xml.next"
);
+        File testFile = getTestFile( "target/test-classes/projects/rewrite-for-development/basic-pom/pom.xml.next"
);
         testFile.delete();
         assertFalse( testFile.exists() );
 
@@ -95,8 +94,7 @@
         config.mapReleaseVersion( "groupId:artifactId", RELEASE_VERSION );
         config.mapDevelopmentVersion( "groupId:artifactId", NEXT_VERSION );
 
-        File testFile =
-            getTestFile( "target/test-classes/projects/rewrite-for-development/" + "basic-pom/pom.xml.next"
);
+        File testFile = getTestFile( "target/test-classes/projects/rewrite-for-development/basic-pom/pom.xml.next"
);
         testFile.delete();
         assertFalse( testFile.exists() );
 

Modified: maven/plugins/trunk/maven-release-plugin/src/test/java/org/apache/maven/plugins/release/phase/RewritePomsForReleasePhaseTest.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-release-plugin/src/test/java/org/apache/maven/plugins/release/phase/RewritePomsForReleasePhaseTest.java?rev=399144&r1=399143&r2=399144&view=diff
==============================================================================
--- maven/plugins/trunk/maven-release-plugin/src/test/java/org/apache/maven/plugins/release/phase/RewritePomsForReleasePhaseTest.java
(original)
+++ maven/plugins/trunk/maven-release-plugin/src/test/java/org/apache/maven/plugins/release/phase/RewritePomsForReleasePhaseTest.java
Tue May  2 22:22:28 2006
@@ -90,8 +90,7 @@
         ReleaseConfiguration config = createConfigurationFromBasicPom();
         config.mapReleaseVersion( "groupId:artifactId", NEXT_VERSION );
 
-        File testFile =
-            getTestFile( "target/test-classes/projects/rewrite-for-development/" + "basic-pom/pom.xml.tag"
);
+        File testFile = getTestFile( "target/test-classes/projects/rewrite-for-release/basic-pom/pom.xml.tag"
);
         testFile.delete();
         assertFalse( testFile.exists() );
 
@@ -110,8 +109,7 @@
         ReleaseConfiguration config = createConfigurationFromBasicPom();
         config.mapReleaseVersion( "groupId:artifactId", NEXT_VERSION );
 
-        File testFile =
-            getTestFile( "target/test-classes/projects/rewrite-for-development/" + "basic-pom/pom.xml.tag"
);
+        File testFile = getTestFile( "target/test-classes/projects/rewrite-for-release/basic-pom/pom.xml.tag"
);
         testFile.delete();
         assertFalse( testFile.exists() );
 



Mime
View raw message