Issue Details (XML | Word | Printable)

Key: EMAIL-58
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Niall Pemberton
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Email

[Email] Add JUnit Test Case for Invalid Addresses

Created: 07/Sep/05 12:45 PM   Updated: 16/May/06 12:09 PM
Return to search
Component/s: None
Affects Version/s: Nightly Builds
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Java Source File InvalidAddressTest.java 2005-09-07 12:47 PM Niall Pemberton 6 kB
Environment:
Operating System: other
Platform: Other

Bugzilla Id: 36535


 Description  « Hide
Attaching a patch to test invalid email addresses.

N.B. I've commented out the addresses which contain a double quote or '[' as
the InternetAddress.validate() method skips validation of addresses which
contain these characters.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Niall Pemberton added a comment - 07/Sep/05 12:47 PM
Created an attachment (id=16323)
InvalidAddressTest.java

JUnit Test Case


Henning Schmiedehausen added a comment - 07/Sep/05 07:16 PM
Additional unit tests are always welcome. Thanks a lot.