commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsde...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/test/org/apache/commons/httpclient TestAuthenticator.java TestBase64.java TestURIUtil.java
Date Tue, 17 Dec 2002 02:26:58 GMT
jsdever     2002/12/16 18:26:58

  Modified:    httpclient/src/test/org/apache/commons/httpclient
                        TestAuthenticator.java TestBase64.java
                        TestURIUtil.java
  Log:
  Remove calls to deprecated classes.
  
  Revision  Changes    Path
  1.19      +5 -4      jakarta-commons/httpclient/src/test/org/apache/commons/httpclient/TestAuthenticator.java
  
  Index: TestAuthenticator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/test/org/apache/commons/httpclient/TestAuthenticator.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- TestAuthenticator.java	23 Oct 2002 16:29:40 -0000	1.18
  +++ TestAuthenticator.java	17 Dec 2002 02:26:57 -0000	1.19
  @@ -68,6 +68,7 @@
   
   import java.util.Hashtable;
   import java.util.StringTokenizer;
  +import org.apache.commons.httpclient.util.Base64;
   
   /**
    * Unit tests for {@link Authenticator}.
  
  
  
  1.5       +5 -4      jakarta-commons/httpclient/src/test/org/apache/commons/httpclient/TestBase64.java
  
  Index: TestBase64.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/test/org/apache/commons/httpclient/TestBase64.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestBase64.java	4 Feb 2002 15:26:43 -0000	1.4
  +++ TestBase64.java	17 Dec 2002 02:26:57 -0000	1.5
  @@ -64,6 +64,7 @@
   
   import junit.framework.*;
   import java.util.Random;
  +import org.apache.commons.httpclient.util.Base64;
   
   /**
    * Simple tests of {@link Base64}.
  
  
  
  1.2       +5 -4      jakarta-commons/httpclient/src/test/org/apache/commons/httpclient/TestURIUtil.java
  
  Index: TestURIUtil.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/test/org/apache/commons/httpclient/TestURIUtil.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestURIUtil.java	12 Apr 2002 21:17:06 -0000	1.1
  +++ TestURIUtil.java	17 Dec 2002 02:26:57 -0000	1.2
  @@ -65,6 +65,7 @@
   import junit.framework.*;
   import java.net.MalformedURLException;
   import java.lang.reflect.*;
  +import org.apache.commons.httpclient.util.URIUtil;
   
   /**
    *
  @@ -136,7 +137,7 @@
           for(int i=0;i<queryTests.length;i++){
               testValue = queryTests[i].getTestValue();
               expectedResult = queryTests[i].getExpectedResult();
  -            assertEquals("Path test", expectedResult, URIUtil.getQueryString(testValue));
  +            assertEquals("Path test", expectedResult, URIUtil.getQuery(testValue));
           }
       }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message