commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeri...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/test/org/apache/commons/httpclient TestURIUtil2.java
Date Sat, 26 Oct 2002 15:54:30 GMT
jericho     2002/10/26 08:54:30

  Modified:    httpclient/src/test/org/apache/commons/httpclient
                        TestURIUtil2.java
  Log:
  - Apply the encodeWithinQuery method (probably it's ok...)
  
  Revision  Changes    Path
  1.2       +5 -5      jakarta-commons/httpclient/src/test/org/apache/commons/httpclient/TestURIUtil2.java
  
  Index: TestURIUtil2.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/test/org/apache/commons/httpclient/TestURIUtil2.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestURIUtil2.java	25 Oct 2002 10:15:52 -0000	1.1
  +++ TestURIUtil2.java	26 Oct 2002 15:54:30 -0000	1.2
  @@ -82,10 +82,10 @@
           return new TestSuite(TestURIUtil.class);
       }
   
  -    public void testEncodeQuery() {
  +    public void testEncodeWithinQuery() {
           String unescaped1=  "abc123+ %_?=&#.";
           try {
  -            String stringRet = URIUtil.encodeQuery(unescaped1);
  +            String stringRet = URIUtil.encodeWithinQuery(unescaped1);
               assertEquals("abc123%2B%20%25_%3F%3D%26%23.%C3%A4", stringRet);
               stringRet = URIUtil.decode(stringRet);
               assertEquals(unescaped1, stringRet);
  
  
  

--
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