continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r497756 - /maven/continuum/trunk/continuum-webapp/src/test/java/org/apache/maven/continuum/web/action/ReleasePrepareActionTest.java
Date Fri, 19 Jan 2007 09:40:09 GMT
Author: evenisse
Date: Fri Jan 19 01:40:08 2007
New Revision: 497756

URL: http://svn.apache.org/viewvc?view=rev&rev=497756
Log:
[CONTINUUM-1140] Fix test that fail on some jdk.

Modified:
    maven/continuum/trunk/continuum-webapp/src/test/java/org/apache/maven/continuum/web/action/ReleasePrepareActionTest.java

Modified: maven/continuum/trunk/continuum-webapp/src/test/java/org/apache/maven/continuum/web/action/ReleasePrepareActionTest.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/test/java/org/apache/maven/continuum/web/action/ReleasePrepareActionTest.java?view=diff&rev=497756&r1=497755&r2=497756
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/test/java/org/apache/maven/continuum/web/action/ReleasePrepareActionTest.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/test/java/org/apache/maven/continuum/web/action/ReleasePrepareActionTest.java
Fri Jan 19 01:40:08 2007
@@ -57,6 +57,7 @@
         String scmUrl = "scm:svn:" + svnUrl + "/trunk/";
         Project project = new Project();
         project.setScmUrl( scmUrl );
+        project.setWorkingDirectory(".");
         continuumMock.expects( once() ).method( "getProject" ).will( returnValue( project
) );
         action.input();
         assertEquals( svnUrl + "/tags", action.getScmTagBase() );
@@ -73,6 +74,7 @@
     {
         Project project = new Project();
         project.setScmUrl( "scm:cvs:xxx" );
+        project.setWorkingDirectory(".");
         continuumMock.expects( once() ).method( "getProject" ).will( returnValue( project
) );
         action.input();
         assertEquals( "", action.getScmTagBase() );



Mime
View raw message