You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by he...@apache.org on 2004/09/20 00:07:54 UTC
cvs commit: jakarta-commons/configuration/src/test/org/apache/commons/configuration TestCompositeConfiguration.java
henning 2004/09/19 15:07:54
Modified: configuration/src/test/org/apache/commons/configuration
TestCompositeConfiguration.java
Log:
Removed some debug code that shouldn't have been checked in
Revision Changes Path
1.12 +2 -5 jakarta-commons/configuration/src/test/org/apache/commons/configuration/TestCompositeConfiguration.java
Index: TestCompositeConfiguration.java
===================================================================
RCS file: /home/cvs/jakarta-commons/configuration/src/test/org/apache/commons/configuration/TestCompositeConfiguration.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- TestCompositeConfiguration.java 19 Sep 2004 22:01:50 -0000 1.11
+++ TestCompositeConfiguration.java 19 Sep 2004 22:07:54 -0000 1.12
@@ -432,10 +432,7 @@
assertEquals("test string", c.getString("string"));
try
{
- System.out.println(cc.getClass().getName());
- assertTrue(cc.isThrowExceptionOnMissing());
- String foo = c.getString("XXX");
- assertNull(foo);
+ c.getString("XXX");
fail("Should throw NoSuchElementException exception");
}
catch (NoSuchElementException e)
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org