Examples of PasswdCmd


Examples of com.omnicarecr.accounts.util.PasswdCmd

   * Unit test to make sure that lookupUid works correctly   
   * give a fake password file   
   */   
  public void testChangeGecosPass() throws ExpectJException {   
    // passwd is a fake class for testing located in testcases dir   
    PasswdCmd passwdcmd = new PasswdCmd();
    boolean valid = false;   
    try {
      valid = passwdcmd.changeGecos(USER_ID, GECOS_PASS);
    } catch (ExpectJException e) {
      throw e;
    }

    assertTrue(valid == true);   
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.