Package com.bleujin.framework.valid.validator

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


    b.setSvalue("abc#d") ;
    assertEquals(false, new AlphaNum(b, SVALIE).isValid()) ;
  }
 
  public void testAlpha() throws Exception {
    assertEquals(true, new AlphaNumUnderBar(b, SVALIE).isValid()) ;

    b.setSvalue("aA_") ;
   
    assertEquals(true, new AlphaNumUnderBar(b, SVALIE).isValid()) ;
    assertEquals(false, new OnlyNumber(b, SVALIE).isValid()) ;
    assertEquals(false, new Password(b, SVALIE).isValid()) ;
    assertEquals(false, new SmallAlphaNum(b, SVALIE).isValid()) ;
    assertEquals(false, new SmallAlphaNumUnderBar(b, SVALIE).isValid()) ;
   
View Full Code Here

TOP

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

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.