Esempio n. 1
0
 public void InvalidEmailTooManyDots()
 {
     Assert.IsFalse(RegexOperations.ValidateEmail("*****@*****.**"));
     Assert.IsFalse(RegexOperations.ValidateEmail("*****@*****.**"));
 }
Esempio n. 2
0
 public void InvalidEmailAddressCapital()
 {
     Assert.IsFalse(RegexOperations.ValidateEmail("*****@*****.**"));
     Assert.IsFalse(RegexOperations.ValidateEmail("*****@*****.**"));
     Assert.IsFalse(RegexOperations.ValidateEmail("*****@*****.**"));
 }
Esempio n. 3
0
 public void InvalidEmailNoDot()
 {
     Assert.IsFalse(RegexOperations.ValidateEmail("there@isnodothere"));
 }
Esempio n. 4
0
 public void InvalidEmailMultipleAtSign()
 {
     Assert.IsFalse(RegexOperations.ValidateEmail("toomany@@atsign.com"));
     Assert.IsFalse(RegexOperations.ValidateEmail("toom@[email protected]"));
 }
Esempio n. 5
0
 public void InvalidEmailNoAtSign()
 {
     Assert.IsFalse(RegexOperations.ValidateEmail("missingatsign.com"));
 }
Esempio n. 6
0
 public void ValidEmailAddress()
 {
     Assert.IsTrue(RegexOperations.ValidateEmail("*****@*****.**"));
 }
Esempio n. 7
0
 public void InvalidEmailEmptyStrnig()
 {
     Assert.IsFalse(RegexOperations.ValidateEmail(""));
 }