Finished with the javadoc comments for the Integration Tests.
| | |
| | | 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("*********************************************"); |
| | |
| | | */ |
| | | 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 |
| | |
| | | { |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | |
| | | @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"); |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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"); |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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"); |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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"); |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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"); |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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"); |
| | |
| | | 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 |
| | |
| | | @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"); |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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"); |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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"); |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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"); |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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"); |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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"); |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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"); |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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"); |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | * 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 |
| | | { |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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" }) |
| | |
| | | |
| | | 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(); |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |