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 re...@apache.org on 2001/05/01 23:30:15 UTC
cvs commit: jakarta-slide/src/tests/transaction PutTestCase.java
remm 01/05/01 14:30:15
Modified: src/tests/transaction PutTestCase.java
Removed: src/tests/client TestCookie.java
Log:
- Update some package names to org.apache.commons.httpclient.
- Rename some class names from WebdavXXX to HttpXXX.
Revision Changes Path
1.2 +10 -6 jakarta-slide/src/tests/transaction/PutTestCase.java
Index: PutTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-slide/src/tests/transaction/PutTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PutTestCase.java 2001/01/21 21:29:29 1.1
+++ PutTestCase.java 2001/05/01 21:30:14 1.2
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-slide/src/tests/transaction/PutTestCase.java,v 1.1 2001/01/21 21:29:29 remm Exp $
- * $Revision: 1.1 $
- * $Date: 2001/01/21 21:29:29 $
+ * $Header: /home/cvs/jakarta-slide/src/tests/transaction/PutTestCase.java,v 1.2 2001/05/01 21:30:14 remm Exp $
+ * $Revision: 1.2 $
+ * $Date: 2001/05/01 21:30:14 $
*
* ====================================================================
*
@@ -69,10 +69,14 @@
import junit.ui.TestRunner;
-import org.apache.webdav.lib.Cookie;
-import org.apache.webdav.lib.Header;
-import org.apache.webdav.lib.WebdavException;
+import org.apache.commons.httpclient.Cookie;
+import org.apache.commons.httpclient.Header;
+import org.apache.commons.httpclient.Credentials;
+import org.apache.commons.httpclient.HttpException;
+import org.apache.commons.httpclient.HttpClient;
+import org.apache.commons.httpclient.methods.PutMethod;
+
// Slide
import org.apache.webdav.lib.*;
import org.apache.webdav.lib.methods.*;
@@ -85,7 +89,7 @@
* Test cases for the PUT method
*
* @author Juergen Pill
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public class PutTestCase extends TestCase {
@@ -229,7 +233,7 @@
*/
private void excutePut(String resourceName) throws Exception {
long startTime = System.currentTimeMillis();
- WebdavClient client = new WebdavClient();
+ HttpClient client = new HttpClient();
PutMethod pm = new PutMethod();
try {
// client.setDebug(1);