Package com.omnicarecr.accounts.util

Examples of com.omnicarecr.accounts.util.UserInfo


    //assertTrue(valid = false);
  }
 
  public void testCheckPasswordCharsFail() { 
   
    UserInfo userinfo = null;
    try {
      userinfo = new UserInfo(PASSWD_STREAM, SHADOW_STREAM);
      } catch (Exception e) { 
          fail();   
        }
   
    boolean valid=true;
   
    // look me up out out of that file and make sure uid is still 28272
    valid = userinfo.checkPassword(PASSWORD_CHARS_FAIL);
    assertTrue(valid == false);

    // look me up out out of that file and make sure uid is still 28272   
    //valid = userinfo.checkUserIdLen(USER_ID_LEN_FAIL); 
    //assertTrue(valid = false);
View Full Code Here


    //assertTrue(valid = false);
  }
 
  public void testCheckPasswordCharsPass() { 
   
    UserInfo userinfo = null;
    try {
      userinfo = new UserInfo(PASSWD_STREAM, SHADOW_STREAM);
      } catch (Exception e) { 
          fail();   
        }
   
    boolean valid=false;
   
    // look me up out out of that file and make sure uid is still 28272
    valid = userinfo.checkPassword(PASSWORD_CHARS_PASS);
    assertTrue(valid == true);

    // look me up out out of that file and make sure uid is still 28272   
    //valid = userinfo.checkUserIdLen(USER_ID_LEN_FAIL); 
    //assertTrue(valid = false);
View Full Code Here

TOP

Related Classes of com.omnicarecr.accounts.util.UserInfo

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.