| | |
| | | * |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2014 ForgeRock AS |
| | | * Portions Copyright 2014-2015 ForgeRock AS |
| | | */ |
| | | package org.opends.server.tools; |
| | | |
| | |
| | | * |
| | | * @throws Exception If an unexpected problem occurs. |
| | | */ |
| | | @BeforeClass() |
| | | @BeforeClass |
| | | public void startServerAndCreatePasswordFiles() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testSimpleLDAPv2Delete() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testSimpleLDAPv3Delete() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testDeleteSSLBlindTrust() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testDeleteSSLTrustStore() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testDeleteStartTLSBlindTrust() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testDeleteStartTLSTrustStore() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testDeletePLAIN() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testDeleteNonExistent() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testDeleteMalformedDN() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testDeleteParentNoSubtreeDeleteControl() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testDeleteValidPasswordFile() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testDeleteInvalidPasswordFile() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testDeleteNonExistentPasswordFile() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testDeleteDNsFromFile() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpected problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testSubtreeDelete() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testSubtreeDeleteAltName() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testDeleteClientSideNoOp() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testDeleteServerSideNoOp() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testDeleteServerSideNoOpAltName() |
| | | throws Exception |
| | | { |
| | |
| | | * |
| | | * @throws Exception If an unexpectd problem occurs. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testMultipleRequestControls() |
| | | throws Exception |
| | | { |
| | |
| | | /** |
| | | * Tests the LDAPDelete tool with the "--help" option. |
| | | */ |
| | | @Test() |
| | | @Test |
| | | public void testHelp() |
| | | { |
| | | String[] args = { "--help" }; |