mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
09.06.2007 4915128605a07d7c82fda681596d4da9746e3f97
opends/tests/unit-tests-testng/src/server/org/opends/server/tools/EncodePasswordTestCase.java
@@ -755,16 +755,21 @@
  /**
   * Tests the EncodePassword tool with the "--help" option.
   * Tests the EncodePassword tool with the help options.
   */
  @Test()
  public void testHelp()
  {
    String[] args =
    {
      "--help"
    };
    String[] args = { "--help" };
    assertEquals(EncodePassword.encodePassword(args, false, null, null), 0);
    args = new String[] { "-H" };
    assertEquals(EncodePassword.encodePassword(args, false, null, null), 0);
    args = new String[] { "-?" };
    assertEquals(EncodePassword.encodePassword(args, false, null, null), 0);
    args = new String[] { "/?" };
    assertEquals(EncodePassword.encodePassword(args, false, null, null), 0);
  }
}