continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1368804 - /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractAdminTest.java
Date Fri, 03 Aug 2012 06:37:24 GMT
Author: brett
Date: Fri Aug  3 06:37:23 2012
New Revision: 1368804

URL: http://svn.apache.org/viewvc?rev=1368804&view=rev
Log:
ensure correct build agent URL is used if there is a trailing slash

Modified:
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractAdminTest.java

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractAdminTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractAdminTest.java?rev=1368804&r1=1368803&r2=1368804&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractAdminTest.java
(original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractAdminTest.java
Fri Aug  3 06:37:23 2012
@@ -40,7 +40,7 @@ public abstract class AbstractAdminTest
 
     protected String getBuildAgentUrl()
     {
-        return baseUrl.replace( "/continuum", "/continuum-buildagent/xmlrpc" );
+        return baseUrl.substring( 0, baseUrl.indexOf( "/continuum" ) ) + "/continuum-buildagent/xmlrpc";
     }
 
     protected void addBuildAgent( String buildAgentUrl )



Mime
View raw message