commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r754611 - /commons/proper/lang/trunk/src/test/org/apache/commons/lang/mutable/MutableBooleanTest.java
Date Sun, 15 Mar 2009 03:43:41 GMT
Author: bayard
Date: Sun Mar 15 03:43:40 2009
New Revision: 754611

URL: http://svn.apache.org/viewvc?rev=754611&view=rev
Log:
This should bring code coverage to 100% for MutableBoolean

Modified:
    commons/proper/lang/trunk/src/test/org/apache/commons/lang/mutable/MutableBooleanTest.java

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang/mutable/MutableBooleanTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/mutable/MutableBooleanTest.java?rev=754611&r1=754610&r2=754611&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang/mutable/MutableBooleanTest.java
(original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang/mutable/MutableBooleanTest.java
Sun Mar 15 03:43:40 2009
@@ -107,6 +107,7 @@
     public void testGetSet() {
         final MutableBoolean mutBool = new MutableBoolean(false);
         assertEquals(false, new MutableBoolean().booleanValue());
+        assertEquals(Boolean.FALSE, new MutableBoolean().getValue());
 
         mutBool.setValue(Boolean.TRUE);
         assertEquals(true, mutBool.booleanValue());



Mime
View raw message