avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pro...@apache.org
Subject cvs commit: jakarta-avalon/src/test/org/apache/avalon/framework/configuration/test DefaultConfigurationTestCase.java
Date Sat, 13 Jul 2002 18:47:12 GMT
proyal      2002/07/13 11:47:12

  Modified:    src/test/org/apache/avalon/framework/configuration/test
                        DefaultConfigurationTestCase.java
  Log:
  Remove branch test
  
  Revision  Changes    Path
  1.6       +0 -16     jakarta-avalon/src/test/org/apache/avalon/framework/configuration/test/DefaultConfigurationTestCase.java
  
  Index: DefaultConfigurationTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon/src/test/org/apache/avalon/framework/configuration/test/DefaultConfigurationTestCase.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DefaultConfigurationTestCase.java	12 Jul 2002 20:11:56 -0000	1.5
  +++ DefaultConfigurationTestCase.java	13 Jul 2002 18:47:12 -0000	1.6
  @@ -54,7 +54,6 @@
   import junit.framework.TestCase;
   import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.configuration.DefaultConfiguration;
  -import org.apache.avalon.framework.configuration.ConfigurationUtil;
   
   /**
    * Test the basic public methods of DefaultConfiguration.
  @@ -108,21 +107,6 @@
           final boolean b = true;
           m_configuration.setValue("TrUe");
           assertEquals( b, m_configuration.getValueAsBoolean() );
  -    }
  -
  -    public void testBranch()
  -      throws Exception
  -    {
  -        m_configuration.setAttribute( "test", "test" );
  -        m_configuration.setValue( "test" );
  -        m_configuration.addChild( new DefaultConfiguration( "test", "test" ) );
  -
  -        final Configuration c = ConfigurationUtil.branch( m_configuration, "branched" );
  -
  -        assertEquals( "branched", c.getName() );
  -        assertEquals( "test", c.getAttribute( "test" ) );
  -        assertEquals( "test", c.getValue() );
  -        assertTrue( c.getChild( "test", false ) != null );
       }
   
       public void testGetAttribute()
  
  
  

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


Mime
View raw message