Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
I think it's caused by the different between RI 1.4.2 and RI 5.0. Three test cases in JIRA#57 should be updated accordingly.
public void testIsSupported_EmptyString() {
try
catch (IllegalCharsetNameException e)
{ // }}
public void testConstructor_EmptyCanonicalName() {
try { new MockCharset("", new String[0]); fail("Should throw IllegalCharsetNameException!"); } catch (IllegalCharsetNameException e) { // }
}
public void testConstructor_EmptyAliases() {
try {
new MockCharset("mockChar", new String[]
);
fail("Should throw IllegalCharsetNameException!");
} catch (IllegalCharsetNameException e)
}