Package com.bleujin.framework.valid.validator

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


    assertEquals(true, new Password(b, SVALIE).isValid()) ;
  }

  public void testPath() throws Exception {
    b.setSvalue("c:\\dd.htm") ;
    assertEquals(true, new Path(b, SVALIE).isValid()) ;

    b.setSvalue("\\1.htm") ;
    assertEquals(false, new Path(b, SVALIE).isValid()) ;

    b.setSvalue("d:\\dcdddd\\xx.bbx") ;
    assertEquals(true, new Path(b, SVALIE).isValid()) ;

    b.setSvalue("c:\\dccd*") ;
    assertEquals(false, new Path(b, SVALIE).isValid()) ;
  }
View Full Code Here

TOP

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

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.