You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ba...@apache.org on 2009/03/15 04:41:16 UTC

svn commit: r754610 - /commons/proper/lang/trunk/src/test/org/apache/commons/lang/EnumUtilsTest.java

Author: bayard
Date: Sun Mar 15 03:41:15 2009
New Revision: 754610

URL: http://svn.apache.org/viewvc?rev=754610&view=rev
Log:
Bringing the code coverage to 100% :) Constructor wasn't being tested. 

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

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang/EnumUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/EnumUtilsTest.java?rev=754610&r1=754609&r2=754610&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang/EnumUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang/EnumUtilsTest.java Sun Mar 15 03:41:15 2009
@@ -30,6 +30,11 @@
         return suite;
     }
 
+    public void testConstructable() {
+        // enforce public constructor
+        new EnumUtils();
+    }
+
     public void testGetEnumMap() {
         try {
             EnumUtils.getEnumMap(null);