Author: weaver
Date: Wed Nov 30 11:57:51 2005
New Revision: 350032

URL: http://svn.apache.org/viewcvs?rev=350032&view=rev
Log:
Fixed broken test.  Subpath logic should never have included the query string.

Modified:
    
portals/jetspeed-2/trunk/commons/src/test/org/apache/jetspeed/util/TestPathUtil.java

Modified: 
portals/jetspeed-2/trunk/commons/src/test/org/apache/jetspeed/util/TestPathUtil.java
URL: 
http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/commons/src/test/org/apache/jetspeed/util/TestPathUtil.java?rev=350032&r1=350031&r2=350032&view=diff
==============================================================================
--- 
portals/jetspeed-2/trunk/commons/src/test/org/apache/jetspeed/util/TestPathUtil.java
 (original)
+++ 
portals/jetspeed-2/trunk/commons/src/test/org/apache/jetspeed/util/TestPathUtil.java
 Wed Nov 30 11:57:51 2005
@@ -40,7 +40,7 @@
         assertEquals("file.html", path.getSegment(3));  
         assertEquals("/root/sub1/sub2/file.html", path.pathOnly());
         
-        assertEquals("/sub1/sub2/file.html?foo=bar&name=bob", 
path.getSubPath(1).toString());
+        assertEquals("/sub1/sub2/file.html", path.getSubPath(1).toString());
         
         path = new Path("file.html");
         assertEquals(".html", path.getFileExtension());



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to