Cobertura unit test coverage is now 100%.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@384095 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2006-03-08 02:25:50 +00:00
parent e905b7993b
commit 80dbd1dab0
1 changed files with 7 additions and 0 deletions

View File

@ -44,6 +44,13 @@ private void assertSupportedEncoding(String name) {
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);