| | |
| | | "-V", "2", |
| | | "-D", "cn=Directory Manager", |
| | | "-w", "password", |
| | | "--noPropertiesFile", |
| | | "o=test" |
| | | }; |
| | | |
| | |
| | | "-V", "3", |
| | | "-D", "cn=Directory Manager", |
| | | "-w", "password", |
| | | "--noPropertiesFile", |
| | | "o=test" |
| | | }; |
| | | |
| | |
| | | "-X", |
| | | "-D", "cn=Directory Manager", |
| | | "-w", "password", |
| | | "--noPropertiesFile", |
| | | "o=test" |
| | | }; |
| | | |
| | |
| | | "-P", trustStorePath, |
| | | "-D", "cn=Directory Manager", |
| | | "-w", "password", |
| | | "--noPropertiesFile", |
| | | "o=test" |
| | | }; |
| | | |
| | |
| | | "-X", |
| | | "-D", "cn=Directory Manager", |
| | | "-w", "password", |
| | | "--noPropertiesFile", |
| | | "o=test" |
| | | }; |
| | | |
| | |
| | | "-P", trustStorePath, |
| | | "-D", "cn=Directory Manager", |
| | | "-w", "password", |
| | | "--noPropertiesFile", |
| | | "o=test" |
| | | }; |
| | | |
| | |
| | | "-o", "mech=PLAIN", |
| | | "-o", "authid=dn:cn=Directory Manager", |
| | | "-w", "password", |
| | | "--noPropertiesFile", |
| | | "o=test" |
| | | }; |
| | | |
| | |
| | | "-V", "3", |
| | | "-D", "cn=Directory Manager", |
| | | "-w", "password", |
| | | "--noPropertiesFile", |
| | | "cn=Does Not Exist,o=test" |
| | | }; |
| | | |
| | |
| | | "-V", "3", |
| | | "-D", "cn=Directory Manager", |
| | | "-w", "password", |
| | | "--noPropertiesFile", |
| | | "malformed" |
| | | }; |
| | | |
| | |
| | | "-V", "3", |
| | | "-D", "cn=Directory Manager", |
| | | "-w", "password", |
| | | "--noPropertiesFile", |
| | | "o=test" |
| | | }; |
| | | |
| | |
| | | "-p", String.valueOf(TestCaseUtils.getServerLdapPort()), |
| | | "-D", "cn=Directory Manager", |
| | | "-j", validPasswordFile, |
| | | "--noPropertiesFile", |
| | | "o=test" |
| | | }; |
| | | |
| | |
| | | "-p", String.valueOf(TestCaseUtils.getServerLdapPort()), |
| | | "-D", "cn=Directory Manager", |
| | | "-j", invalidPasswordFile, |
| | | "--noPropertiesFile", |
| | | "o=test" |
| | | }; |
| | | |
| | |
| | | "-p", String.valueOf(TestCaseUtils.getServerLdapPort()), |
| | | "-D", "cn=Directory Manager", |
| | | "-j", "does.not.exist", |
| | | "--noPropertiesFile", |
| | | "o=test" |
| | | }; |
| | | |
| | |
| | | "-D", "cn=Directory Manager", |
| | | "-j", validPasswordFile, |
| | | "-c", |
| | | "-f", path |
| | | "-f", path, |
| | | "--noPropertiesFile" |
| | | }; |
| | | |
| | | LDAPDelete.mainDelete(args, false, null, null); |
| | |
| | | /** |
| | | * Tests a subtree delete operation. |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | * @throws Exception If an unexpected problem occurs. |
| | | */ |
| | | @Test() |
| | | public void testSubtreeDelete() |
| | |
| | | "-D", "cn=Directory Manager", |
| | | "-w", "password", |
| | | "-x", |
| | | "--noPropertiesFile", |
| | | "o=test" |
| | | }; |
| | | |
| | |
| | | "-D", "cn=Directory Manager", |
| | | "-w", "password", |
| | | "-J", "subtreedelete:true", |
| | | "--noPropertiesFile", |
| | | "o=test" |
| | | }; |
| | | |
| | |
| | | "-D", "cn=Directory Manager", |
| | | "-w", "password", |
| | | "-n", |
| | | "--noPropertiesFile", |
| | | "o=test" |
| | | }; |
| | | |
| | |
| | | "-D", "cn=Directory Manager", |
| | | "-w", "password", |
| | | "-J", OID_LDAP_NOOP_OPENLDAP_ASSIGNED + ":true", |
| | | "--noPropertiesFile", |
| | | "o=test" |
| | | }; |
| | | |
| | |
| | | "-D", "cn=Directory Manager", |
| | | "-w", "password", |
| | | "-J", "no-op:true", |
| | | "--noPropertiesFile", |
| | | "o=test" |
| | | }; |
| | | |
| | |
| | | "-w", "password", |
| | | "-J", OID_MANAGE_DSAIT_CONTROL + ":false", |
| | | "-J", OID_SUBTREE_DELETE_CONTROL + ":true", |
| | | "--noPropertiesFile", |
| | | "o=test" |
| | | }; |
| | | |