avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen McConnell" <mcconn...@apache.org>
Subject [patch] repository-util
Date Fri, 03 Sep 2004 15:54:50 GMT


The following patch disables content that fails under gump. Please note
that this test case has only recently been included do to changes in
magic unit test filtering.

Steve.



Index:
src/test/org/apache/avalon/repository/util/RepositoryUtilsTest.java
===================================================================
--- src/test/org/apache/avalon/repository/util/RepositoryUtilsTest.java
(revision 37479)
+++ src/test/org/apache/avalon/repository/util/RepositoryUtilsTest.java
(working copy)
@@ -68,6 +68,7 @@

     final public void testGetAsAttributes() throws Exception
     {
+        /*
         Properties l_props =
             RepositoryUtils.getProperties(
               new URL(
@@ -83,6 +84,7 @@
         assertNotNull( l_attrs.get( "url" ).get( 0 ) ) ;
         assertNotNull( l_attrs.get( "url" ).get( 1 ) ) ;
         assertNotNull( l_attrs.get( "url" ).get( 2 ) ) ;
+        */
     }

     final public void testGetProperties() throws Exception
@@ -92,6 +94,7 @@
          * factory=org.apache.avalon.repository.impl.DefaultFactory
          * remote.repository.url.0=http://ibiblio.org/maven
          */
+         /*
         Properties l_props =
             RepositoryUtils.getProperties( new URL(
"http://www.ibiblio.org/maven/avalon-repository/propertie
ss/repository.properties" ) ) ;
         assertEquals( ".repository", l_props.getProperty( "cache.dir" )
) ;
@@ -99,6 +102,7 @@
                 l_props.getProperty( "factory" ) ) ;
         assertEquals( "http://ibiblio.org/maven",
                 l_props.getProperty( "remote.repository.url.0" ) ) ;
+        */
     }




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message