You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by ju...@apache.org on 2002/05/27 16:45:52 UTC
cvs commit: jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor PropfindAssert.java
juergen 02/05/27 07:45:52
Modified: testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor
PropfindAssert.java
Log:
removed the dependency from the server library (used client class instead)
Revision Changes Path
1.5 +7 -7 jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/PropfindAssert.java
Index: PropfindAssert.java
===================================================================
RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/PropfindAssert.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- PropfindAssert.java 24 May 2002 07:59:42 -0000 1.4
+++ PropfindAssert.java 27 May 2002 14:45:52 -0000 1.5
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/PropfindAssert.java,v 1.4 2002/05/24 07:59:42 juergen Exp $
- * $Revision: 1.4 $
- * $Date: 2002/05/24 07:59:42 $
+ * $Header: /home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/PropfindAssert.java,v 1.5 2002/05/27 14:45:52 juergen Exp $
+ * $Revision: 1.5 $
+ * $Date: 2002/05/27 14:45:52 $
*
* ====================================================================
*
@@ -66,7 +66,7 @@
// Slide
import org.apache.webdav.lib.methods.*;
-import org.apache.slide.webdav.util.WebdavUtils;
+import org.apache.util.URLUtil;
// jdom
import org.jdom.*;
import org.jdom.input.*;
@@ -77,7 +77,7 @@
* Perform the necessary checks for the received and expected PropFind body
*
* @author Software AG
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public class PropfindAssert extends XMLResponseBodyAssert {
@@ -104,8 +104,8 @@
if (value2.startsWith("/")){
value2 = value2.substring(1,value2.length());
}
- value1 = WebdavUtils.decodeURL(value1, "UTF-8");
- value2 = WebdavUtils.decodeURL(value2, "UTF-8");
+ value1 = URLUtil.URLDecode(value1, "UTF-8");
+ value2 = URLUtil.URLDecode(value2, "UTF-8");
}
return super.compareValues(path, name, value1, value2);
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>