, October 29, 2004 3:23 AM
To: Jakarta Commons Developers List; Mark Lowe
Subject: Re: [email] test cases
It doesnt use smtp.jar, right?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
-Original Message-
From: Corey Scott [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 3:23 AM
To: Jakarta Commons Developers List; Mark Lowe
Subject: Re: [email] test cases
It doesnt use smtp.jar, right
and really sending emails...
Eric
-Original Message-
From: Corey Scott [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 3:23 AM
To: Jakarta Commons Developers List; Mark Lowe
Subject: Re: [email] test cases
It doesnt use smtp.jar, right
that solve your needs?
I know it's frustrating getting everything setup, but don't give up!
Eric
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 12:16 PM
To: Jakarta Commons Developers List
Subject: Re: [email] test cases
Thinking about
the email out like that solve your needs?
I know it's frustrating getting everything setup, but don't give up!
Eric
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 12:16 PM
To: Jakarta Commons Developers List
Subject: Re: [email] test
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
List; Mark Lowe
Subject: RE: [email] test cases
Alright.. I've made some progress. I refactored all the unit tests to
extend from BaseEmailTestCase. BaseEmailTestCase contains the
various bits
of shared code. It also starts and stops dumbster.
So, on to my problem... I added an example
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
: but was:null at
org.apache.commons.mail.MultiPartEmailTest.testSetMsg(MultiPartEmailTest.jav
a:86)
-Original Message-
From: Eric Pugh [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 1:39 PM
To: Jakarta Commons Developers List; Mark Lowe
Subject: RE: [email] test cases
Guys,
I need some guidance. The test cases mentioned are failing for a
couple of reasons. The ones that are failing are doing so because the
personal names are still using ? instead of an invalid unicode
character, we can replace them with something like \uc5ec (this is
korean i believe) they
-Original Message-
From: Corey Scott [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 4:05 PM
To: Jakarta Commons Developers List
Subject: Re: [email] test cases
Guys,
I need some guidance. The test cases mentioned are failing for a
couple of reasons. The ones
We have quite a few style violations that have crept back in, do you
mind if i fix those as well? Do you recommend a separate patch? If
it is ok with you, i would rather submit one patch for all of it cause
stuff keeps getting lost :-)
Thanks for the advice,
Corey
PS. I will try to take you
-Original Message-
From: Corey Scott [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 5:11 PM
To: [EMAIL PROTECTED]
Cc: Jakarta Commons Developers List
Subject: Re: [email] test cases
We have quite a few style violations that have crept back in, do you
mind if i fix those as well
Ok, sounds good.
I will make sure I test the patch before sending it too you. Seeing
as we are both using eclipse, hopefully this will mean that I can be
sure that it applies before I send it.
Regards,
Corey
-
To unsubscribe,
: [email] test cases
Do you have anymore info on why the tests are failing?
If it the previous set of tests (before last nights updates) then it
is probably due to some validation that was missing in one of the
patches and should now be there.
Namely, throwing exceptions on bad inputs like
..
-Original Message-
From: Corey Scott [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 4:14 PM
To: Jakarta Commons Developers List; Mark Lowe
Subject: Re: [email] test cases
Do you have anymore info on why the tests are failing?
If it the previous set of tests
It doesnt use smtp.jar, right?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
All but the EmailTest should run.. Dumbster [1] fakes out your SMTP
server, so you don't even need one. Of course, I am not sure what happens
if you have a real smtp server running on port 25 and you use Dumbster.
I assume you are running under Maven? Run maven test and most should
work.
The problem is I need to check output, the stuff that Junit cant do.
So the easiest way is having teh emails mailed from the test cases..
test:test:
[junit] Running org.apache.commons.mail.DefaultAuthenticatorTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.964 sec
Do you have anymore info on why the tests are failing?
If it the previous set of tests (before last nights updates) then it
is probably due to some validation that was missing in one of the
patches and should now be there.
Namely, throwing exceptions on bad inputs like a null message.
Other than
Ok... please ignore my previous message.
I have checked out the current source. An I do get 5 errors.
The errors are ALL caused by the same thing.
Now please let me try to explain what is causing this.
The error is tests are for invalid character sets in the personal
section of and email
All the errors (not failures) I get are
javax.mail.NoSuchProviderException: smtp ..
It could be a misconguration on my part. If I had a better idea I'd
enter a bug.
Mark
P.S. Thanks!! For the gmail address.
On Wed, 27 Oct 2004 22:23:00 +0800, Corey Scott [EMAIL PROTECTED] wrote:
Ok... please
22 matches
Mail list logo