Package com.bleujin.framework.valid.validator

Examples of com.bleujin.framework.valid.validator.Email


  }

 
  public void testEmail() throws Exception {
    b.setSvalue("aA_") ;
    assertEquals(false, new Email(b, SVALIE).isValid()) ;

    b.setSvalue("abc@") ;
    assertEquals(false, new Email(b, SVALIE).isValid()) ;

    b.setSvalue("abc@ddd") ;
    assertEquals(false, new Email(b, SVALIE).isValid()) ;

    b.setSvalue("ac@ddd.cc") ;
    assertEquals(true, new Email(b, SVALIE).isValid()) ;
  }
View Full Code Here

TOP

Related Classes of com.bleujin.framework.valid.validator.Email

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.