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

coulbeck
25.31.2007 4287153a2c0323d20e6619c4ea52fa8057ff946d
opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPSearchTestCase.java
@@ -566,6 +566,29 @@
  /**
   * Tests a simple search with verbose output.
   */
  @Test()
  public void testSimpleVerboseSearch()
  {
    String[] args =
    {
      "-h", "127.0.0.1",
      "-p", String.valueOf(TestCaseUtils.getServerLdapPort()),
      "-v",
      "-D", "cn=Directory Manager",
      "-w", "password",
      "-b", "",
      "-s", "base",
      "(objectClass=*)"
    };
    assertEquals(LDAPSearch.mainSearch(args, false, null, System.err), 0);
  }
  /**
   * Tests a simple invocation using the "--dry-run" option with a valid argument
   * set.
   */