commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r754610 - /commons/proper/lang/trunk/src/test/org/apache/commons/lang/EnumUtilsTest.java
Date Sun, 15 Mar 2009 03:41:16 GMT
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);



Mime
View raw message