joerg       2004/04/28 17:21:50

  Modified:    src/test/org/apache/cocoon/util/test NetUtilsTestCase.java
  Log:
  show that NetUtils.normalize() still does not work correctly - see my 
following mail
  
  Revision  Changes    Path
  1.7       +7 -1      
cocoon-2.1/src/test/org/apache/cocoon/util/test/NetUtilsTestCase.java
  
  Index: NetUtilsTestCase.java
  ===================================================================
  RCS file: 
/home/cvs/cocoon-2.1/src/test/org/apache/cocoon/util/test/NetUtilsTestCase.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- NetUtilsTestCase.java     28 Apr 2004 22:14:19 -0000      1.6
  +++ NetUtilsTestCase.java     29 Apr 2004 00:21:50 -0000      1.7
  @@ -206,7 +206,13 @@
        */
       public void testNormalize() throws Exception {
           Object[] test_values = {
  +                new String[]{"", ""},
  +                new String[]{"/", "/"},
  +                new String[]{"/../", "/../"},
                   new String[]{"/foo/bar", "/foo/bar"},
  +                new String[]{"/foo/bar/", "/foo/bar/"},
  +                new String[]{"/foo/../bar", "/bar"},
  +                new String[]{"/foo/../bar/", "/bar/"},
                   new String[]{"bar", "bar"},
                   new String[]{"foo/../bar", "bar"},
                   new String[]{"foo/./bar", "foo/bar"},
  
  
  

Reply via email to