Testcase: testSetFrom2(org.apache.commons.mail.EmailTest): FAILED
Should have thrown an exception
junit.framework.AssertionFailedError: Should have thrown an exception
at org.apache.commons.mail.EmailTest.testSetFrom2(EmailTest.java:420)
which is this piece of code
MockEmailConcrete anotherEmail = new MockEmailConcrete();
// set a dodgy encoding scheme
anotherEmail.setCharset("bad.encoding??\n");
// set a valid address but bad personal name
anotherEmail.setFrom("[EMAIL PROTECTED]", "\t.bad.personal.name.??\n");
fail("Should have thrown an exception");
The AddressException patches I submitted yesterday help it throw if
the name is snide. But I couldn't get it throwing
unsupportedcharseteception for the life of me.
Mark
On Fri, 29 Oct 2004 20:08:06 +0800, Corey Scott <[EMAIL PROTECTED]> wrote:
> Mark,
>
> Can you please clarify regarding the unsupportedcharset exception, as
> I have had no problem with this, except for this fact that the unicode
> chars are not being submitted to the cvs nicely.
>
> Thanks,
> Corey
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]