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

        Niall Pemberton created issue -
        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
        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.
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 36535 12342538
        Henri Yandell made changes -
        Affects Version/s Nightly Builds [ 12311648 ]
        Component/s Email [ 12311114 ]
        Key COM-2386 EMAIL-58
        Project Commons [ 12310458 ] Commons Email [ 12310474 ]
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Henri Yandell made changes -
        Affects Version/s Nightly Builds [ 12311788 ]
        Siegfried Goeschl made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Resolved Resolved Closed Closed
        1872d 9h 34m 1 Siegfried Goeschl 23/Oct/10 23:20

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development