maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltheu...@apache.org
Subject svn commit: r1086335 - /maven/shared/trunk/maven-doxia-tools/src/test/java/org/apache/maven/doxia/tools/SiteToolTest.java
Date Mon, 28 Mar 2011 18:50:06 GMT
Author: ltheussl
Date: Mon Mar 28 18:50:05 2011
New Revision: 1086335

URL: http://svn.apache.org/viewvc?rev=1086335&view=rev
Log:
trivial tests

Modified:
    maven/shared/trunk/maven-doxia-tools/src/test/java/org/apache/maven/doxia/tools/SiteToolTest.java

Modified: maven/shared/trunk/maven-doxia-tools/src/test/java/org/apache/maven/doxia/tools/SiteToolTest.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-doxia-tools/src/test/java/org/apache/maven/doxia/tools/SiteToolTest.java?rev=1086335&r1=1086334&r2=1086335&view=diff
==============================================================================
--- maven/shared/trunk/maven-doxia-tools/src/test/java/org/apache/maven/doxia/tools/SiteToolTest.java
(original)
+++ maven/shared/trunk/maven-doxia-tools/src/test/java/org/apache/maven/doxia/tools/SiteToolTest.java
Mon Mar 28 18:50:05 2011
@@ -120,6 +120,19 @@ public class SiteToolTest
         String to = "http://maven.apache.org";
         String from = "http://maven.apache.org";
         assertEquals( tool.getRelativePath( to, from ), "" );
+
+        to = "http://maven.apache.org";
+        from = "http://maven.apache.org/";
+        assertEquals( tool.getRelativePath( to, from ), "" );
+
+        to = "http://maven.apache.org/";
+        from = "http://maven.apache.org";
+        assertEquals( tool.getRelativePath( to, from ), "" );
+
+        to = "http://maven.apache.org/";
+        from = "http://maven.apache.org/";
+        assertEquals( tool.getRelativePath( to, from ), "" );
+
         to = "http://maven.apache.org/";
         from = "http://maven.apache.org/plugins/maven-site-plugin";
         assertEquals( tool.getRelativePath( to, from ), ".." + File.separator + ".." );



Mime
View raw message