-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4601 email contact issues #4636
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,12 @@ public void testIsEmailValid() { | |
assertEquals(false, EMailValidator.isEmailValid("dora@.com", null)); | ||
assertEquals(false, EMailValidator.isEmailValid("", null)); | ||
assertEquals(false, EMailValidator.isEmailValid(null, null)); | ||
/* | ||
Add tests for 4601 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should reformat this emails in the test to be a little less "real". There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added a couple that came directly from the RT tickets referenced in the issue (that are now passing validation). What else did you have in mind? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
*/ | ||
assertEquals(true, EMailValidator.isEmailValid("blah@wiso.uni-unc.de", null)); | ||
assertEquals(true, EMailValidator.isEmailValid("foo@essex.co.uk", null)); | ||
assertEquals(true, EMailValidator.isEmailValid("jack@bu.cloud", null)); | ||
} | ||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we delete
EMAIL_PATTERN
inStringUtil.java
?