You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by we...@apache.org on 2005/11/30 20:57:52 UTC
svn commit: r350032 -
/portals/jetspeed-2/trunk/commons/src/test/org/apache/jetspeed/util/TestPathUtil.java
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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org