maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r406655 - /maven/scm/trunk/maven-scm-providers/maven-scm-providers-cvs/maven-scm-provider-cvs-commons/src/test/java/org/apache/maven/scm/provider/cvslib/repository/CvsScmProviderRepositoryTest.java
Date Mon, 15 May 2006 15:36:55 GMT
Author: evenisse
Date: Mon May 15 08:36:52 2006
New Revision: 406655

URL: http://svn.apache.org/viewcvs?rev=406655&view=rev
Log:
Use a port different than default 2401 port

Modified:
    maven/scm/trunk/maven-scm-providers/maven-scm-providers-cvs/maven-scm-provider-cvs-commons/src/test/java/org/apache/maven/scm/provider/cvslib/repository/CvsScmProviderRepositoryTest.java

Modified: maven/scm/trunk/maven-scm-providers/maven-scm-providers-cvs/maven-scm-provider-cvs-commons/src/test/java/org/apache/maven/scm/provider/cvslib/repository/CvsScmProviderRepositoryTest.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/maven-scm-providers/maven-scm-providers-cvs/maven-scm-provider-cvs-commons/src/test/java/org/apache/maven/scm/provider/cvslib/repository/CvsScmProviderRepositoryTest.java?rev=406655&r1=406654&r2=406655&view=diff
==============================================================================
--- maven/scm/trunk/maven-scm-providers/maven-scm-providers-cvs/maven-scm-provider-cvs-commons/src/test/java/org/apache/maven/scm/provider/cvslib/repository/CvsScmProviderRepositoryTest.java
(original)
+++ maven/scm/trunk/maven-scm-providers/maven-scm-providers-cvs/maven-scm-provider-cvs-commons/src/test/java/org/apache/maven/scm/provider/cvslib/repository/CvsScmProviderRepositoryTest.java
Mon May 15 08:36:52 2006
@@ -187,10 +187,10 @@
     public void testParseRemotePserverConnectionWithPortAndPassword()
         throws Exception
     {
-        String url = "pserver:anoncvs:mypassword@cvs.apache.org:2401:/home/cvspublic:maven";
+        String url = "pserver:anoncvs:mypassword@cvs.apache.org:2402:/home/cvspublic:maven";
 
         CvsScmProviderRepository repo =
-            testUrl( url, url.replaceFirst( ":mypassword", "" ).replaceFirst( ":2401", ""
) );
+            testUrl( url, url.replaceFirst( ":mypassword", "" ).replaceFirst( ":2402:", ":2402"
) );
 
         assertEquals( "pserver", repo.getTransport() );
 
@@ -202,11 +202,11 @@
 
         assertEquals( "/home/cvspublic", repo.getPath() );
 
-        assertEquals( 2401, repo.getPort() );
+        assertEquals( 2402, repo.getPort() );
 
-        assertEquals( ":pserver:anoncvs@cvs.apache.org:/home/cvspublic", repo.getCvsRoot()
);
+        assertEquals( ":pserver:anoncvs@cvs.apache.org:2402/home/cvspublic", repo.getCvsRoot()
);
 
-        assertEquals( ":pserver:anoncvs@cvs.apache.org:2401/home/cvspublic", repo.getCvsRootForCvsPass()
);
+        assertEquals( ":pserver:anoncvs@cvs.apache.org:2402/home/cvspublic", repo.getCvsRootForCvsPass()
);
     }
 
     public void testParseRemotePserverConnectionWithBarsAsDelimiter()
@@ -275,7 +275,8 @@
 
         assertTrue( "The SCM Repository isn't a " + CvsScmProviderRepository.class.getName()
+ ".", repository
             .getProviderRepository() instanceof CvsScmProviderRepository );
-
+System.out.println( "cvs:" + expectedUrl );
+System.out.println( repository.toString() );
         assertEquals( "cvs:" + expectedUrl, repository.toString() );
 
         return (CvsScmProviderRepository) repository.getProviderRepository();



Mime
View raw message