From 4b03fd3d724a2a63ecca61dbab56edea64f47d5a Mon Sep 17 00:00:00 2001
From: el_kaboing <el_kaboing@localhost>
Date: Fri, 08 Sep 2006 16:36:44 +0000
Subject: [PATCH] Finished with the javadoc comments for the Integration Tests.
---
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests3.java | 45 +
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackupTests.java | 70 +++
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests9.java | 58 ++
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests6.java | 45 +
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackendStartupTests.java | 15
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests14.java | 32 +
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests11.java | 45 +
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/RestoreTests.java | 30 +
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/security/JKSTLSTests.java | 93 ++++
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ExportTests.java | 257 +++++++++++
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests10.java | 45 +
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests13.java | 58 ++
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/security/JKSStartupTests.java | 77 +++
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests4.java | 45 +
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests7.java | 45 +
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_modifyrdns.java | 1
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/security/JKSBobTests.java | 65 ++
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/RestoreTasksTests.java | 17
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTasksTests.java | 17
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ExportTasksTests.java | 17
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests8.java | 45 +
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackupTasksTests.java | 17
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests2.java | 45 +
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests5.java | 45 +
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests1.java | 45 +
opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests12.java | 59 ++
26 files changed, 1,300 insertions(+), 33 deletions(-)
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackendStartupTests.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackendStartupTests.java
index 4185c45..78ba0d0 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackendStartupTests.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackendStartupTests.java
@@ -37,11 +37,22 @@
public class BackendStartupTests extends BackendTests
{
/**
- * Setup for backend tests
+ * Add entries that are required for the Backend Tests.
+ *
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
*/
@Parameters({ "dsee_home", "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSBobTests.testJKSBobTest5" })
- //@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSTLSTests.testJKSTLSTest7" })
public void testBackendStartup1(String dsee_home, String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
{
System.out.println("*********************************************");
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackupTasksTests.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackupTasksTests.java
index f3cc0bb..c37286a 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackupTasksTests.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackupTasksTests.java
@@ -36,6 +36,23 @@
*/
public class BackupTasksTests extends BackendTests
{
+/**
+ * Create a backup of the data in OpenDS by scheduling a task.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param backupDir The directory where the backup files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "exportDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.BackupTests.testBackup5" })
public void testBackupTasks1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String exportDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackupTests.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackupTests.java
index 2cddda0..5520145 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackupTests.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackupTests.java
@@ -41,6 +41,18 @@
{
public String backup_id = null;
+/**
+ * Create a backup of the data in OpenDS.
+ *
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param backupDir The directory where the backup files will
+ * be placed.
+*/
@Parameters({ "integration_test_home", "logDir", "dsee_home", "backupDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ExportTasksTests.testExportTasks1" })
public void testBackup1(String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
@@ -58,6 +70,23 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Create an incremental backup of the data in OpenDS.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param backupDir The directory where the backup files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "backupDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.BackupTests.testBackup1" })
public void testBackup2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
@@ -82,6 +111,18 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Create a backup of the data in OpenDS with a backup id.
+ *
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param backupDir The directory where the backup files will
+ * be placed.
+*/
@Parameters({ "integration_test_home", "logDir", "dsee_home", "backupDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.BackupTests.testBackup2" })
public void testBackup3(String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
@@ -101,6 +142,23 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Create an incremental backup of the data in OpenDS with a backup id.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param backupDir The directory where the backup files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "backupDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.BackupTests.testBackup3" })
public void testBackup4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
@@ -127,6 +185,18 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Create a compressed backup of the data in OpenDS.
+ *
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param backupDir The directory where the backup files will
+ * be placed.
+*/
@Parameters({ "integration_test_home", "logDir", "dsee_home", "backupDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.BackupTests.testBackup4" })
public void testBackup5(String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ExportTasksTests.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ExportTasksTests.java
index 386c439..8b24bf8 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ExportTasksTests.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ExportTasksTests.java
@@ -37,6 +37,23 @@
@Test
public class ExportTasksTests extends BackendTests
{
+/**
+ * Export the data in OpenDS by scheduling a task.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param exportDir The directory where the export files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "exportDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ExportTests.testExport15" })
public void testExportTasks1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String exportDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ExportTests.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ExportTests.java
index 5d89448..95f673e 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ExportTests.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ExportTests.java
@@ -37,6 +37,23 @@
@Test
public class ExportTests extends BackendTests
{
+/**
+ * Export the data in OpenDS.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param exportDir The directory where the export files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "exportDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.BackendStartupTests.testBackendStartup1" })
public void testExport1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String exportDir) throws Exception
@@ -53,6 +70,23 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Export the data in OpenDS by appending to an ldif file.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param exportDir The directory where the export files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "exportDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ExportTests.testExport1" })
public void testExport2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String exportDir) throws Exception
@@ -69,6 +103,23 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Export the data in OpenDS with one --includeAttribute parameter.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param exportDir The directory where the export files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "exportDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ExportTests.testExport2" })
public void testExport3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String exportDir) throws Exception
@@ -85,6 +136,23 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Export the data in OpenDS with three --includeAttribute parameters.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param exportDir The directory where the export files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "exportDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ExportTests.testExport3" })
public void testExport4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String exportDir) throws Exception
@@ -101,6 +169,23 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Export the data in OpenDS with one --excludeAttribute parameter.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param exportDir The directory where the export files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "exportDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ExportTests.testExport4" })
public void testExport5(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String exportDir) throws Exception
@@ -117,6 +202,23 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Export the data in OpenDS with three --excludeAttribute parameters.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param exportDir The directory where the export files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "exportDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ExportTests.testExport5" })
public void testExport6(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String exportDir) throws Exception
@@ -133,6 +235,23 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Export the data in OpenDS with one --includeFilter parameter.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param exportDir The directory where the export files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "exportDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ExportTests.testExport6" })
public void testExport7(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String exportDir) throws Exception
@@ -149,6 +268,23 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Export the data in OpenDS with three --includeFilter parameters.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param exportDir The directory where the export files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "exportDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ExportTests.testExport7" })
public void testExport8(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String exportDir) throws Exception
@@ -165,6 +301,23 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Export the data in OpenDS with one --excludeFilter parameter.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param exportDir The directory where the export files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "exportDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ExportTests.testExport8" })
public void testExport9(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String exportDir) throws Exception
@@ -181,6 +334,23 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Export the data in OpenDS with three --excludeFilter parameters.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param exportDir The directory where the export files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "exportDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ExportTests.testExport9" })
public void testExport10(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String exportDir) throws Exception
@@ -197,6 +367,23 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Export the data in OpenDS with one --includeBranch parameter.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param exportDir The directory where the export files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "exportDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ExportTests.testExport10" })
public void testExport11(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String exportDir) throws Exception
@@ -213,6 +400,23 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Export the data in OpenDS with one --excludeBranch parameter.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param exportDir The directory where the export files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "exportDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ExportTests.testExport11" })
public void testExport12(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String exportDir) throws Exception
@@ -229,6 +433,24 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Export the data in OpenDS with one --includeAttribute,
+ * one --excludeFilter, and one --includeBranch parameter.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param exportDir The directory where the export files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "exportDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ExportTests.testExport12" })
public void testExport13(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String exportDir) throws Exception
@@ -245,6 +467,24 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Export the data in OpenDS with one --excludeAttribute,
+ * one --includeFilter, and one --excludeBranch parameter.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param exportDir The directory where the export files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "exportDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ExportTests.testExport13" })
public void testExport14(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String exportDir) throws Exception
@@ -261,6 +501,23 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Export the data in OpenDS in compressed format.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param exportDir The directory where the export files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "exportDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ExportTests.testExport14" })
public void testExport15(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String exportDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTasksTests.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTasksTests.java
index fd8135b..4c8d32b 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTasksTests.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTasksTests.java
@@ -37,6 +37,23 @@
@Test
public class ImportTasksTests extends BackendTests
{
+/**
+ * Import data in OpenDS by scheduling a task.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param backupDir The directory where the backup files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests14.testImport14_check" })
public void testImportTasks1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests1.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests1.java
index c54cb1c..28668c1 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests1.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests1.java
@@ -36,9 +36,24 @@
@Test
public class ImportTests1 extends BackendTests
{
- @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "backupDir" })
+/**
+ * Import data to OpenDS.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+*/
+ @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.BackupTasksTests.testBackupTasks1" })
- public void testImport1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
+ public void testImport1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home) throws Exception
{
System.out.println("*********************************************");
System.out.println("Import Test 1");
@@ -62,6 +77,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * First verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests1.testImport1" })
public void testImport1_check(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -79,6 +107,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Second verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests1.testImport1_check" })
public void testImport1_check2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests10.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests10.java
index a9c8a66..8e69c61 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests10.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests10.java
@@ -36,9 +36,24 @@
@Test
public class ImportTests10 extends BackendTests
{
- @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "backupDir" })
+/**
+ * Import data to OpenDS with one --includeBranch parameter.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+*/
+ @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests9.testImport9_check3" })
- public void testImport10(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
+ public void testImport10(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home) throws Exception
{
System.out.println("*********************************************");
System.out.println("Import Test 10");
@@ -63,6 +78,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * First verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests10.testImport10" })
public void testImport10_check(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -80,6 +108,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Second verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests10.testImport10_check" })
public void testImport10_check2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests11.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests11.java
index b5ebc82..2f76a69 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests11.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests11.java
@@ -36,9 +36,24 @@
@Test
public class ImportTests11 extends BackendTests
{
- @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "backupDir" })
+/**
+ * Import data to OpenDS with one --excludeBranch parameter.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+*/
+ @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests10.testImport10_check2" })
- public void testImport11(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
+ public void testImport11(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home) throws Exception
{
System.out.println("*********************************************");
System.out.println("Import Test 11");
@@ -63,6 +78,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * First verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests11.testImport11" })
public void testImport11_check(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -80,6 +108,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Second verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests11.testImport11_check" })
public void testImport11_check2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests12.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests12.java
index 547e25a..6954c00 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests12.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests12.java
@@ -36,9 +36,25 @@
@Test
public class ImportTests12 extends BackendTests
{
- @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "backupDir" })
+/**
+ * Import data to OpenDS with one --excludeAttribute, one --excludeFilter, and
+ * one --includeBranch parameter.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+*/
+ @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests11.testImport11_check2" })
- public void testImport12(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
+ public void testImport12(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home) throws Exception
{
System.out.println("*********************************************");
System.out.println("Import Test 12");
@@ -63,6 +79,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * First verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests12.testImport12" })
public void testImport12_check(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -80,6 +109,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Second verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests12.testImport12_check" })
public void testImport12_check2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -97,6 +139,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Third verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests12.testImport12_check2" })
public void testImport12_check3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests13.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests13.java
index dd49490..23c8495 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests13.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests13.java
@@ -36,9 +36,24 @@
@Test
public class ImportTests13 extends BackendTests
{
- @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "backupDir" })
+/**
+ * Add a new branch when importing data.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+*/
+ @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests12.testImport12_check3" })
- public void testImport13(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
+ public void testImport13(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home) throws Exception
{
System.out.println("*********************************************");
System.out.println("Import Test 13");
@@ -69,6 +84,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * First verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests13.testImport13" })
public void testImport13_check(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -86,6 +114,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Second verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests13.testImport13_check" })
public void testImport13_check2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -103,6 +144,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Third verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests13.testImport13_check2" })
public void testImport13_check3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests14.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests14.java
index 94c9945..9131d79 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests14.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests14.java
@@ -36,9 +36,24 @@
@Test
public class ImportTests14 extends BackendTests
{
- @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "backupDir" })
+/**
+ * Import compressed data to OpenDS.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+*/
+ @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests13.testImport13_check3" })
- public void testImport14(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
+ public void testImport14(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home) throws Exception
{
System.out.println("*********************************************");
System.out.println("Import Test 14");
@@ -62,6 +77,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * First verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests14.testImport14" })
public void testImport14_check(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests2.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests2.java
index 0bbce5e..33a367a 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests2.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests2.java
@@ -36,9 +36,24 @@
@Test
public class ImportTests2 extends BackendTests
{
- @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "backupDir" })
+/**
+ * Import data to OpenDS with the --append parameter.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+*/
+ @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests1.testImport1_check2" })
- public void testImport2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
+ public void testImport2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home) throws Exception
{
System.out.println("*********************************************");
System.out.println("Import Test 2");
@@ -61,6 +76,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * First verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests2.testImport2" })
public void testImport2_check(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -78,6 +106,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Second verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests2.testImport2_check" })
public void testImport2_check2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests3.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests3.java
index a4a9af2..6f871f9 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests3.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests3.java
@@ -36,9 +36,24 @@
@Test
public class ImportTests3 extends BackendTests
{
- @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "backupDir" })
+/**
+ * Import data to OpenDS with three --includeAttribute parameters.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+*/
+ @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests2.testImport2_check2" })
- public void testImport3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
+ public void testImport3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home) throws Exception
{
System.out.println("*********************************************");
System.out.println("Import Test 3");
@@ -62,6 +77,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * First verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests3.testImport3" })
public void testImport3_check(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -79,6 +107,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Second verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests3.testImport3_check" })
public void testImport3_check2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests4.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests4.java
index b07cedd..5aa2d47 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests4.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests4.java
@@ -36,9 +36,24 @@
@Test
public class ImportTests4 extends BackendTests
{
- @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "backupDir" })
+/**
+ * Import data to OpenDS with one --excludeAttribute parameter.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+*/
+ @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests3.testImport3_check2" })
- public void testImport4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
+ public void testImport4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home) throws Exception
{
System.out.println("*********************************************");
System.out.println("Import Test 4");
@@ -62,6 +77,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * First verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests4.testImport4" })
public void testImport4_check(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -79,6 +107,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Second verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests4.testImport4_check" })
public void testImport4_check2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests5.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests5.java
index ee98d49..62849d1 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests5.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests5.java
@@ -36,9 +36,24 @@
@Test
public class ImportTests5 extends BackendTests
{
- @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "backupDir" })
+/**
+ * Import data to OpenDS with three --excludeAtribute parameters.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+*/
+ @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests4.testImport4_check2" })
- public void testImport5(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
+ public void testImport5(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home) throws Exception
{
System.out.println("*********************************************");
System.out.println("Import Test 5");
@@ -62,6 +77,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * First verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests5.testImport5" })
public void testImport5_check(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -79,6 +107,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Second verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests5.testImport5_check" })
public void testImport5_check2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests6.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests6.java
index 912f5b2..dd46297 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests6.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests6.java
@@ -36,9 +36,24 @@
@Test
public class ImportTests6 extends BackendTests
{
- @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "backupDir" })
+/**
+ * Import data to OpenDS one --includeFilter parameter.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+*/
+ @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests5.testImport5_check2" })
- public void testImport6(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
+ public void testImport6(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home) throws Exception
{
System.out.println("*********************************************");
System.out.println("Import Test 6");
@@ -62,6 +77,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * First verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests6.testImport6" })
public void testImport6_check(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -79,6 +107,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Second verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests6.testImport6_check" })
public void testImport6_check2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests7.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests7.java
index 393f254..c9f3117 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests7.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests7.java
@@ -36,9 +36,24 @@
@Test
public class ImportTests7 extends BackendTests
{
- @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "backupDir" })
+/**
+ * Import data to OpenDS with three --includeFilter attributes.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+*/
+ @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests6.testImport6_check2" })
- public void testImport7(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
+ public void testImport7(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home) throws Exception
{
System.out.println("*********************************************");
System.out.println("Import Test 7");
@@ -62,6 +77,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * First verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests7.testImport7" })
public void testImport7_check(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -79,6 +107,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Second verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests7.testImport7_check" })
public void testImport7_check2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests8.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests8.java
index 1ebeb1e..c2bb027 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests8.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests8.java
@@ -36,9 +36,24 @@
@Test
public class ImportTests8 extends BackendTests
{
- @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "backupDir" })
+/**
+ * Import data to OpenDS with one --excludeFilter attribute.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+*/
+ @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests7.testImport7_check2" })
- public void testImport8(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
+ public void testImport8(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home) throws Exception
{
System.out.println("*********************************************");
System.out.println("Import Test 8");
@@ -62,6 +77,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * First verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests8.testImport8" })
public void testImport8_check(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -79,6 +107,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Second verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests8.testImport8_check" })
public void testImport8_check2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests9.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests9.java
index 45903e6..ccf387e 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests9.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/ImportTests9.java
@@ -36,9 +36,24 @@
@Test
public class ImportTests9 extends BackendTests
{
- @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home", "backupDir" })
+/**
+ * Import data to OpenDS with three --excludeAttribute parameters.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+*/
+ @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests8.testImport8_check2" })
- public void testImport9(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home, String backupDir) throws Exception
+ public void testImport9(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home) throws Exception
{
System.out.println("*********************************************");
System.out.println("Import Test 9");
@@ -62,6 +77,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * First verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests9.testImport9" })
public void testImport9_check(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -79,6 +107,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Second verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests9.testImport9_check" })
public void testImport9_check2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -96,6 +137,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Third verification search for the entries that were imported in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTests9.testImport9_check2" })
public void testImport9_check3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/RestoreTasksTests.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/RestoreTasksTests.java
index b2a3bca..6006f5e 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/RestoreTasksTests.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/RestoreTasksTests.java
@@ -39,6 +39,23 @@
@Test
public class RestoreTasksTests extends BackendTests
{
+/**
+ * Restore data in OpenDS by scheduling a task.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param backupDir The directory where the backup files will
+ * be placed.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.RestoreTests.testRestore2" })
public void testRestoreTasks1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/RestoreTests.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/RestoreTests.java
index 48b998d..936fa4c 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/RestoreTests.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/RestoreTests.java
@@ -38,6 +38,21 @@
@Test
public class RestoreTests extends BackendTests
{
+/**
+ * Restore data to OpenDS.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.ImportTasksTests.testImportTasks1" })
public void testRestore1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home) throws Exception
@@ -65,6 +80,21 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Restore compressed data to OpenDS.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir", "dsee_home" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.backend.RestoreTests.testRestore1" })
public void testRestore2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir, String dsee_home) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_modifyrdns.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_modifyrdns.java
index f60ddbe..8968179 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_modifyrdns.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_modifyrdns.java
@@ -199,7 +199,6 @@
* generated during the Integration Tests.
*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
- @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.frontend.FrontendRFC2251_modifyrdns.testFrontendUserModifyRDN3" })
public void testFrontendUserModifyRDN4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
{
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/security/JKSBobTests.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/security/JKSBobTests.java
index 9a9fd73..04c941b 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/security/JKSBobTests.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/security/JKSBobTests.java
@@ -36,6 +36,19 @@
@Test
public class JKSBobTests extends JKSTests
{
+/**
+ * Add the entries by ssl that are needed for all the Security Tests.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param sport The ssl port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "sport", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSStartupTests.testJKSStartup5" })
public void testJKSBobTest1(String hostname, String sport, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -53,6 +66,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an RDN to an existing entry through an SSL connection.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param sport The ssl port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "sport", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSBobTests.testJKSBobTest1" })
public void testJKSBobTest2(String hostname, String sport, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -70,6 +96,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a jpeg photo to an existing entry through an SSL connection.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param sport The ssl port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "sport", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSBobTests.testJKSBobTest2" })
public void testJKSBobTest3(String hostname, String sport, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -87,6 +126,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a jpeg photo in an existing entry through an SSL connection.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param sport The ssl port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "sport", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSBobTests.testJKSBobTest3" })
public void testJKSBobTest4(String hostname, String sport, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -104,6 +156,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Delete an existing entry through an SSL connection.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param sport The ssl port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "sport", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSBobTests.testJKSBobTest4" })
public void testJKSBobTest5(String hostname, String sport, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/security/JKSStartupTests.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/security/JKSStartupTests.java
index 80b98ff..8e86a65 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/security/JKSStartupTests.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/security/JKSStartupTests.java
@@ -37,7 +37,15 @@
public class JKSStartupTests extends JKSTests
{
/**
- * Setup for jks tests
+ * Generate the server certificate and copy it to the config subdirectory
+ * in the OpenDS installation.
+ *
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param dsee_home The home directory for the OpenDS
+ * installation.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
*/
@Parameters({ "integration_test_home", "dsee_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.core.CoreEntryCacheTests.testCoreEntryCache6" })
@@ -50,7 +58,7 @@
if (osName.indexOf("Windows") >= 0) // For Windows
{
- String exec_cmd = "CMD /C " + integration_test_home + "\\security\\generate_server_cert";
+ String exec_cmd = "CMD /C " + integration_test_home + "\\security\\generate_server_cert";
Runtime rtime = Runtime.getRuntime();
Process child = rtime.exec(exec_cmd);
child.waitFor();
@@ -97,6 +105,19 @@
compareExitCode(0, 0);
}
+/**
+ * Modify the entry, cn=Key Manager Provider,cn=SSL,cn=config.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSStartupTests.testJKSStartup1" })
public void testJKSStartup2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -114,6 +135,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Delete the default entry, cn=Trust Manager Provider,cn=SSL,cn=config.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSStartupTests.testJKSStartup2" })
public void testJKSStartup3_prep(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -131,6 +165,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add the new entry, cn=Trust Manager Provider,cn=SSL,cn=config.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSStartupTests.testJKSStartup3_prep" })
public void testJKSStartup3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -148,6 +195,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add the entry, cn=LDAPS Connection Handler,cn=Connection Handlers,cn=config
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSStartupTests.testJKSStartup3" })
public void testJKSStartup4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -165,6 +225,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add the entry, cn=LDAPS Connection Handler,cn=Connection Handlers,cn=config.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param sport The ssl port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "sport", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSStartupTests.testJKSStartup4" })
public void testJKSStartup5(String hostname, String sport, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/security/JKSTLSTests.java b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/security/JKSTLSTests.java
index 60bd779..7037364 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/security/JKSTLSTests.java
+++ b/opendj-sdk/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/security/JKSTLSTests.java
@@ -36,6 +36,20 @@
@Test
public class JKSTLSTests extends JKSTests
{
+/**
+ * Enable startTLS by modifying the entry,
+ * cn=LDAP Connection Handler,cn=Connection Handlers,cn=config.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param sport The ssl port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "sport", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSBobTests.testJKSBobTest5" })
public void testJKSTLSTest1(String hostname, String sport, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -53,6 +67,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries through the startTLS port.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The startTLS port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSTLSTests.testJKSTLSTest1" })
public void testJKSTLSTest2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -69,6 +96,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a jpeg photo to an existing entry through a startTLS connection.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The startTLS port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSTLSTests.testJKSTLSTest2" })
public void testJKSTLSTest3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -86,6 +126,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a jpeg photo in an existing entry through a startTLS connection.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The startTLS port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSTLSTests.testJKSTLSTest3" })
public void testJKSTLSTest4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -103,6 +156,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Delete an existing entry through a startTLS connection.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The startTLS port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSTLSTests.testJKSTLSTest4" })
public void testJKSTLSTest5(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -120,6 +186,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Disable startTLS by modifying the entry,
+ * cn=LDAP Connection Handler,cn=Connection Handlers,cn=config.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param sport The ssl port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "sport", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSTLSTests.testJKSTLSTest5" })
public void testJKSTLSTest6(String hostname, String sport, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -137,6 +217,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries through the startTLS port which was disabled in the last test.
+ *
+ * @param hostname The hostname for the server where OpenDS
+ * is installed.
+ * @param port The startTLS port number for OpenDS.
+ * @param bindDN The bind DN.
+ * @param bindPW The password for the bind DN.
+ * @param integration_test_home The home directory for the Integration
+ * Test Suites.
+ * @param logDir The directory for the log files that are
+ * generated during the Integration Tests.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSTLSTests.testJKSTLSTest6" })
public void testJKSTLSTest7(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
--
Gitblit v1.10.0