Package org.owasp.passfault.finders

Examples of org.owasp.passfault.finders.DateFinder.analyze()


  public void testStress() throws Exception {
    //this runs in 0.212 seconds, it isn't a problem with performance
    DateFinder dateFinder = new DateFinder();
    for (int i = 0; i < 100000; i++) {
      MockPasswordResults pass = new MockPasswordResults("1776-06-04");
      dateFinder.analyze(pass);
      //assertEquals(1, pass.getFoundPatterns().size());
    }
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.