commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r384095 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharEncodingTest.java
Date Wed, 08 Mar 2006 02:25:52 GMT
Author: ggregory
Date: Tue Mar  7 18:25:50 2006
New Revision: 384095

URL: http://svn.apache.org/viewcvs?rev=384095&view=rev
Log:
Cobertura unit test coverage is now 100%.

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

Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharEncodingTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharEncodingTest.java?rev=384095&r1=384094&r2=384095&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharEncodingTest.java
(original)
+++ jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharEncodingTest.java
Tue Mar  7 18:25:50 2006
@@ -44,6 +44,13 @@
         assertTrue("Encoding should be supported: " + name, CharEncoding.isSupported(name));
     }
 
+    /**
+     * The class can be instantiated.
+     */
+    public void testConstructor() {
+        new CharEncoding();
+    }
+
     public void testMustBeSupportedJava1_3_1() {
         if (SystemUtils.isJavaVersionAtLeast(1.3f)) {
             this.assertSupportedEncoding(CharEncoding.ISO_8859_1);



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message