avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: jakarta-avalon/src/test/org/apache/avalon/framework/parameters/test ParameterTestCase.java
Date Wed, 31 Oct 2001 15:00:00 GMT
bloritsch    01/10/31 07:00:00

  Modified:    src/proposal/loggable-v2 Loggable.java
               src/test/org/apache/avalon/framework/parameters/test
                        ParameterTestCase.java
  Log:
  Locked Parameters are no longer supported
  
  Revision  Changes    Path
  1.3       +2 -2      jakarta-avalon/src/proposal/loggable-v2/Loggable.java
  
  Index: Loggable.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon/src/proposal/loggable-v2/Loggable.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Loggable.java	2001/10/30 20:30:49	1.2
  +++ Loggable.java	2001/10/31 15:00:00	1.3
  @@ -20,7 +20,7 @@
        * Provide component with a logger.
        *
        * @param logger the logger
  -     * @deprecated Use the enableLogging( Logger ) method instead.
  +     * @deprecated Use the setLogger( Logger ) method instead.
        */
       void setLogger( org.apache.log.Logger logger );
   
  @@ -29,5 +29,5 @@
        *
        * @param logger the logger
        */
  -    void enableLogging( Logger logger );
  +    void setLogger( Logger logger );
   }
  
  
  
  1.6       +1 -9      jakarta-avalon/src/test/org/apache/avalon/framework/parameters/test/ParameterTestCase.java
  
  Index: ParameterTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon/src/test/org/apache/avalon/framework/parameters/test/ParameterTestCase.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ParameterTestCase.java	2001/10/08 13:28:43	1.5
  +++ ParameterTestCase.java	2001/10/31 15:00:00	1.6
  @@ -80,7 +80,7 @@
               "<?xml version=\"1.0\"?>" + EOL +
               "<test>" + EOL +
               "<parameter name=\"key1\" value=\"value1\"/>" + EOL +
  -            "<parameter name=\"key2\" value=\"value2\" locked=\"true\"/>" + EOL +
  +            "<parameter name=\"key2\" value=\"value2\"/>" + EOL +
               "<parameter name=\"key3\" value=\"value3\"/>" + EOL +
               "</test>" ).getBytes() );
   
  @@ -96,14 +96,6 @@
               assertEquals( "value1", parameters.getParameter( "key1" ) );
               assertEquals( "value2", parameters.getParameter( "key2" ) );
               assertEquals( "value3", parameters.getParameter( "key3" ) );
  -
  -            parameters.setParameter( "key1", "newValue1" );
  -            parameters.setParameter( "key2", "newValue2" );
  -            parameters.setParameter( "key3", "newValue3" );
  -
  -            assertEquals( "newValue1", parameters.getParameter( "key1" ) );
  -            assertEquals( "value2", parameters.getParameter( "key2" ) );
  -            assertEquals( "newValue3", parameters.getParameter( "key3" ) );
           }
           catch ( final ConfigurationException ce )
           {
  
  
  

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