cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/webdav/test/org/apache/cocoon/components/source/impl WebDAVSourceTestCase.java
Date Sat, 27 Mar 2004 16:01:40 GMT
unico       2004/03/27 08:01:40

  Modified:    src/blocks/webdav/test/org/apache/cocoon/components/source/impl
                        WebDAVSourceTestCase.java
  Log:
  comment tests that need running server
  
  Revision  Changes    Path
  1.2       +16 -16    cocoon-2.1/src/blocks/webdav/test/org/apache/cocoon/components/source/impl/WebDAVSourceTestCase.java
  
  Index: WebDAVSourceTestCase.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/webdav/test/org/apache/cocoon/components/source/impl/WebDAVSourceTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- WebDAVSourceTestCase.java	27 Mar 2004 15:59:16 -0000	1.1
  +++ WebDAVSourceTestCase.java	27 Mar 2004 16:01:40 -0000	1.2
  @@ -55,21 +55,21 @@
       }
   
       public void testCollection() throws Exception {
  -        SourceResolver resolver = (SourceResolver) lookup(SourceResolver.ROLE);
  -        String uri = m_location + m_options;
  -        TraversableSource source = (TraversableSource) resolver.resolveURI(uri);
  -        assertTrue(source.isCollection());
  -        assertTrue(source.exists());
  -        Iterator children = source.getChildren().iterator();
  -        if (children.hasNext()) {
  -            TraversableSource child = (TraversableSource) children.next();
  -            assertEquals(m_scheme, child.getScheme());
  -            TraversableSource parent = (TraversableSource) child.getParent();
  -            assertEquals(m_scheme, parent.getScheme());
  -            assertEquals(m_name, parent.getName());
  -            assertTrue(parent.isCollection());
  -        }
  -        resolver.release(source);
  +//        SourceResolver resolver = (SourceResolver) lookup(SourceResolver.ROLE);
  +//        String uri = m_location + m_options;
  +//        TraversableSource source = (TraversableSource) resolver.resolveURI(uri);
  +//        assertTrue(source.isCollection());
  +//        assertTrue(source.exists());
  +//        Iterator children = source.getChildren().iterator();
  +//        if (children.hasNext()) {
  +//            TraversableSource child = (TraversableSource) children.next();
  +//            assertEquals(m_scheme, child.getScheme());
  +//            TraversableSource parent = (TraversableSource) child.getParent();
  +//            assertEquals(m_scheme, parent.getScheme());
  +//            assertEquals(m_name, parent.getName());
  +//            assertTrue(parent.isCollection());
  +//        }
  +//        resolver.release(source);
       }
       
   }
  
  
  

Mime
View raw message