maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r691838 - /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 Thu, 04 Sep 2008 00:13:26 GMT
Author: vsiveton
Date: Wed Sep  3 17:13:25 2008
New Revision: 691838

URL: http://svn.apache.org/viewvc?rev=691838&view=rev
Log:
SCM-376: 'Username isn't defined.' when generating SCM report if CVS port number is specified
in SCM URL

o added a working test case

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/viewvc/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=691838&r1=691837&r2=691838&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
Wed Sep  3 17:13:25 2008
@@ -273,6 +273,19 @@
         assertEquals( ":local:c:/cvsroot", repo.getCvsRootForCvsPass() );
     }
 
+    /**
+     * Test SCM-376
+     *
+     * @throws Exception
+     */
+    public void testSCM376()
+        throws Exception
+    {
+        String url = "scm:cvs:pserver:continuum@gnllx002.ebit.be:2401:/data01/cvsroot_bkh:VCG_BKH/uBaseBkh";
+
+        ScmRepository repository = scmManager.makeScmRepository( url );
+    }
+
     // ----------------------------------------------------------------------
     //
     // ----------------------------------------------------------------------



Mime
View raw message