Commons Email
  1. Commons Email
  2. EMAIL-58

[Email] Add JUnit Test Case for Invalid Addresses

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

      Description

      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.

        Activity

        Hide
        Henning Schmiedehausen added a comment -

        Additional unit tests are always welcome. Thanks a lot.

        Show
        Henning Schmiedehausen added a comment - Additional unit tests are always welcome. Thanks a lot.
        Hide
        Niall Pemberton added a comment -

        Created an attachment (id=16323)
        InvalidAddressTest.java

        JUnit Test Case

        Show
        Niall Pemberton added a comment - Created an attachment (id=16323) InvalidAddressTest.java JUnit Test Case

          People

          • Assignee:
            Unassigned
            Reporter:
            Niall Pemberton
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development