You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ep...@apache.org on 2004/09/10 15:34:55 UTC

cvs commit: jakarta-commons/configuration/src/test/org/apache/commons/configuration TestXMLConfiguration.java

epugh       2004/09/10 06:34:55

  Modified:    configuration/src/test/org/apache/commons/configuration
                        TestXMLConfiguration.java
  Log:
  Bug 30799. Set wrong property when call XMLConfiguration.setProperty
   Verification that I can't duplicate this bug...
  
  Revision  Changes    Path
  1.10      +4 -1      jakarta-commons/configuration/src/test/org/apache/commons/configuration/TestXMLConfiguration.java
  
  Index: TestXMLConfiguration.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/configuration/src/test/org/apache/commons/configuration/TestXMLConfiguration.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- TestXMLConfiguration.java	3 Sep 2004 16:36:21 -0000	1.9
  +++ TestXMLConfiguration.java	10 Sep 2004 13:34:54 -0000	1.10
  @@ -226,6 +226,9 @@
           // set a new attribute
           conf.setProperty("foo[@bar]", "value");
           assertEquals("foo[@bar]", "value", conf.getProperty("foo[@bar]"));
  +        
  +        conf.setProperty("name1","value1");
  +        assertEquals("value1",conf.getProperty("name1"));
       }
   
       public void testAddAttribute()
  
  
  

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