Package com.bleujin.framework.valid.validator

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


   
  }
 
 
  public void testRegularExpression() throws Exception {
    assertEquals(false, new RegularExpression(b, SVALIE, "").isValid()) ;
   
    b.setSvalue("abc") ;
    assertEquals(true, new RegularExpression(b, SVALIE, "^[a-c]+$").isValid()) ;
    assertEquals(false, new RegularExpression(b, SVALIE, "^[b-c]+$").isValid()) ;
  }
View Full Code Here

TOP

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

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.