You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by pr...@apache.org on 2002/07/12 21:44:41 UTC
cvs commit: jakarta-avalon/src/test/org/apache/avalon/framework/configuration/test DefaultConfigurationTestCase.java
proyal 2002/07/12 12:44:41
Modified: src/test/org/apache/avalon/framework/configuration/test
DefaultConfigurationTestCase.java
Log:
Add a boolean test
Revision Changes Path
1.4 +8 -0 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.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DefaultConfigurationTestCase.java 25 Jun 2002 13:30:38 -0000 1.3
+++ DefaultConfigurationTestCase.java 12 Jul 2002 19:44:41 -0000 1.4
@@ -101,6 +101,14 @@
assertEquals( orgValue, m_configuration.getValueAsInteger() );
}
+ public void testGetValueAsBoolen()
+ throws Exception
+ {
+ final boolean b = true;
+ m_configuration.setValue("TrUe");
+ assertEquals( b, m_configuration.getValueAsBoolean() );
+ }
+
public void testGetAttribute()
throws Exception
{
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>