From 4156b923a27885b9be78fc58fac55dba26278a66 Mon Sep 17 00:00:00 2001
From: el_kaboing <el_kaboing@localhost>
Date: Thu, 07 Sep 2006 20:49:08 +0000
Subject: [PATCH] Adding comments for javadoc.... part 1.
---
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobDeleteTests.java | 162 ++
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/schema/SchemaRFCTests.java | 455 ++++++++
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_compares.java | 56 +
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_searches.java | 146 ++
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobStartupTests.java | 12
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreSearchSizeLimitTests.java | 161 ++
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreTFFiltersTests.java | 56 +
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_modifies.java | 281 +++++
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendStartupTests.java | 15
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobModrdnTests.java | 39
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/quickstart/QuickstartAddTests.java | 21
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_modifyrdns.java | 78 +
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2252_syntax.java | 41
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/schema/SchemaStartupTests.java | 13
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreEntryCacheTests.java | 79 +
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreSearchTimeLimitTests.java | 161 ++
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreVersionReportTests.java | 16
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobAddTests.java | 720 +++++++++++++
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_deletes.java | 122 ++
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_binds.java | 55 +
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2252_standards.java | 56 +
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreStartupTests.java | 30
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobModTests.java | 366 ++++++
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2253_relationships.java | 134 ++
24 files changed, 3,252 insertions(+), 23 deletions(-)
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobAddTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobAddTests.java
index 0446b38..58a70a5 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobAddTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobAddTests.java
@@ -33,10 +33,23 @@
/**
* This class contains the TestNG tests for the Bob adds.
- */
+*/
@Test
public class BobAddTests extends BobTests
{
+/**
+ * Add a small jpeg photo to an existing entry.
+ *
+ * @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.bob.BobStartupTests.testBobStartup1" })
public void testBobAdd1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -54,6 +67,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a large jpeg photo to an existing entry.
+ *
+ * @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.bob.BobAddTests.testBobAdd1" })
public void testBobAdd2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -71,6 +97,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a new entry as objectclass=inetorgperson that includes a small jpeg photo.
+ *
+ * @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.bob.BobAddTests.testBobAdd2" })
public void testBobAdd3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -88,6 +127,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a new entry as objectclass=inetorgperson that includes a large jpeg photo.
+ *
+ * @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.bob.BobAddTests.testBobAdd3" })
public void testBobAdd4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -105,6 +157,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a small jpeg photo to each of five existing entries.
+ *
+ * @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.bob.BobAddTests.testBobAdd4" })
public void testBobAdd5(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -122,6 +187,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a large jpeg photo to each of five existing entries.
+ *
+ * @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.bob.BobAddTests.testBobAdd5" })
public void testBobAdd6(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -139,6 +217,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add five new entries as objectclass=inetorgperson each of which
+ * includes a small jpeg photo.
+ *
+ * @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.bob.BobAddTests.testBobAdd6" })
public void testBobAdd7(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -156,6 +248,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add five new entries as objectclass=inetorgperson each of which
+ * includes a large jpeg photo.
+ *
+ * @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.bob.BobAddTests.testBobAdd7" })
public void testBobAdd8(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -173,6 +279,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a short labeleduri to an existing entry.
+ *
+ * @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.bob.BobAddTests.testBobAdd8" })
public void testBobAdd9(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -190,6 +309,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a long labeleduri to an existing entry.
+ *
+ * @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.bob.BobAddTests.testBobAdd9" })
public void testBobAdd10(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -207,6 +339,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a new entry as objectclass=inetorgperson that includes a short labeleduri.
+ *
+ * @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.bob.BobAddTests.testBobAdd10" })
public void testBobAdd11(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -224,6 +369,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a new entry as objectclass=inetorgperson that includes a long labeleduri.
+ *
+ * @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.bob.BobAddTests.testBobAdd11" })
public void testBobAdd12(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -241,6 +399,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a short labeleduri to each of five existing entries.
+ *
+ * @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.bob.BobAddTests.testBobAdd12" })
public void testBobAdd13(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -258,6 +429,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a long labeleduri to each of five existing entries.
+ *
+ * @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.bob.BobAddTests.testBobAdd13" })
public void testBobAdd14(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -275,6 +459,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add five new entries as objectclass=inetorgperson each of which
+ * includes a short labeleduri.
+ *
+ * @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.bob.BobAddTests.testBobAdd14" })
public void testBobAdd15(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -292,6 +490,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add five new entries as objectclass=inetorgperson each of which
+ * includes a long labeleduri.
+ *
+ * @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.bob.BobAddTests.testBobAdd15" })
public void testBobAdd16(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -309,6 +521,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a short description to an existing entry.
+ *
+ * @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.bob.BobAddTests.testBobAdd16" })
public void testBobAdd17(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -326,6 +551,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a long description to an existing entry.
+ *
+ * @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.bob.BobAddTests.testBobAdd17" })
public void testBobAdd18(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -343,6 +581,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a new entry as objectclass=inetorgperson that includes a short description.
+ *
+ * @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.bob.BobAddTests.testBobAdd18" })
public void testBobAdd19(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -360,6 +611,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a new entry as objectclass=inetorgperson that includes a long description.
+ *
+ * @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.bob.BobAddTests.testBobAdd19" })
public void testBobAdd20(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -377,6 +641,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a short description to each of five existing entries.
+ *
+ * @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.bob.BobAddTests.testBobAdd20" })
public void testBobAdd21(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -394,6 +671,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a long description to each of five existing entries.
+ *
+ * @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.bob.BobAddTests.testBobAdd21" })
public void testBobAdd22(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -411,6 +701,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add five new entries as objectclass=inetorgperson each of which
+ * includes a short description.
+ *
+ * @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.bob.BobAddTests.testBobAdd22" })
public void testBobAdd23(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -428,6 +732,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add five new entries as objectclass=inetorgperson each of which
+ * includes a long description.
+ *
+ * @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.bob.BobAddTests.testBobAdd23" })
public void testBobAdd24(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -445,6 +763,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a short seeAlso to an existing entry.
+ *
+ * @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.bob.BobAddTests.testBobAdd24" })
public void testBobAdd25(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -462,6 +793,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a long seeAlso to an existing entry.
+ *
+ * @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.bob.BobAddTests.testBobAdd25" })
public void testBobAdd26(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -479,6 +823,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a new entry as objectclass=inetorgperson that includes a short seeAlso.
+ *
+ * @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.bob.BobAddTests.testBobAdd26" })
public void testBobAdd27(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -496,6 +853,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a new entry as objectclass=inetorgperson that includes a long seeAlso.
+ *
+ * @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.bob.BobAddTests.testBobAdd27" })
public void testBobAdd28(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -513,6 +883,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a short seeAlso to each of five existing entries.
+ *
+ * @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.bob.BobAddTests.testBobAdd28" })
public void testBobAdd29(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -530,6 +913,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a long seeAlso to each of five existing entries.
+ *
+ * @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.bob.BobAddTests.testBobAdd29" })
public void testBobAdd30(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -547,6 +943,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add five new entries as objectclass=inetorgperson each of which
+ * includes a short seeAlso.
+ *
+ * @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.bob.BobAddTests.testBobAdd30" })
public void testBobAdd31(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -564,6 +974,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add five new entries as objectclass=inetorgperson each of which
+ * includes a long seeAlso.
+ *
+ * @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.bob.BobAddTests.testBobAdd31" })
public void testBobAdd32(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -581,6 +1005,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a short pager number to an existing entry.
+ *
+ * @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.bob.BobAddTests.testBobAdd32" })
public void testBobAdd33(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -598,6 +1035,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a long pager number to an existing entry.
+ *
+ * @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.bob.BobAddTests.testBobAdd33" })
public void testBobAdd34(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -615,6 +1065,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a new entry as objectclass=inetorgperson that includes a short pager number.
+ *
+ * @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.bob.BobAddTests.testBobAdd34" })
public void testBobAdd35(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -632,6 +1095,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a new entry as objectclass=inetorgperson that includes a long pager number.
+ *
+ * @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.bob.BobAddTests.testBobAdd35" })
public void testBobAdd36(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -649,6 +1125,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a short pager number to each of five existing entries.
+ *
+ * @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.bob.BobAddTests.testBobAdd36" })
public void testBobAdd37(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -666,6 +1155,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a long pager number to each of five existing entries.
+ *
+ * @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.bob.BobAddTests.testBobAdd37" })
public void testBobAdd38(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -683,6 +1185,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add five new entries as objectclass=inetorgperson each of which
+ * includes a short pager number.
+ *
+ * @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.bob.BobAddTests.testBobAdd38" })
public void testBobAdd39(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -700,6 +1216,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add five new entries as objectclass=inetorgperson each of which
+ * includes a long pager number.
+ *
+ * @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.bob.BobAddTests.testBobAdd39" })
public void testBobAdd40(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -717,6 +1247,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a jpeg photo attribute with no value to an existing entry.
+ *
+ * @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.bob.BobAddTests.testBobAdd40" })
public void testBobAdd41(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -734,6 +1277,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a jpeg photo attribute with an ascii value to an existing entry.
+ *
+ * @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.bob.BobAddTests.testBobAdd41" })
public void testBobAdd42(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -751,6 +1307,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a duplicate entry as objectclass=inetorgperson that includes a jpeg
+ * photo with no 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.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.bob.BobAddTests.testBobAdd42" })
public void testBobAdd43(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -768,6 +1338,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a duplicate entry as objectclass=inetorgperson that includes a jpeg
+ * photo with an ascii value.
+ *
+ * @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.bob.BobAddTests.testBobAdd43" })
public void testBobAdd44(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -785,6 +1369,10 @@
compareExitCode(retCode, expCode);
}
/*
+ The following two methods result in binary data being echoed to stand error or standard out.
+ This behavior is not a bug, but is also not desired. These tests are commented out for now.
+*/
+/*
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.bob.BobAddTests.testBobAdd44" })
public void testBobAdd45(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -821,6 +1409,19 @@
compareExitCode(retCode, expCode);
}
*/
+/**
+ * Add a set of entries where the first entry is a duplicate to an existing entry.
+ *
+ * @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.bob.BobAddTests.testBobAdd44" })
public void testBobAdd47(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -838,6 +1439,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a set of entries where the third entry is a duplicate to an existing entry.
+ *
+ * @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.bob.BobAddTests.testBobAdd47" })
public void testBobAdd48(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -855,6 +1469,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a description with no value to an existing entry.
+ *
+ * @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.bob.BobAddTests.testBobAdd48" })
public void testBobAdd49(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -872,6 +1499,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a description with a binary value to an existing entry.
+ *
+ * @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.bob.BobAddTests.testBobAdd49" })
public void testBobAdd50(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -889,6 +1529,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a new entry with a description that has no value.
+ *
+ * @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.bob.BobAddTests.testBobAdd50" })
public void testBobAdd51(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -906,6 +1559,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a new entry with a description that has a binary value.
+ *
+ * @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.bob.BobAddTests.testBobAdd51" })
public void testBobAdd52(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -923,6 +1589,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a duplicate desciption to an existing entry.
+ *
+ * @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.bob.BobAddTests.testBobAdd52" })
public void testBobAdd53(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -940,6 +1619,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a set of entries where the fourth entry has a binary value for the description.
+ *
+ * @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.bob.BobAddTests.testBobAdd53" })
public void testBobAdd54(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -957,6 +1649,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a set of duplicate entries where the descriptions have no value.
+ *
+ * @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.bob.BobAddTests.testBobAdd54" })
public void testBobAdd55(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -974,6 +1679,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add a set of duplicate entries where the descriptions have very long values.
+ *
+ * @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.bob.BobAddTests.testBobAdd55" })
public void testBobAdd56(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobDeleteTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobDeleteTests.java
index 7459a3a..13536b8 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobDeleteTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobDeleteTests.java
@@ -37,6 +37,19 @@
@Test
public class BobDeleteTests extends BobTests
{
+/**
+ * Delete an existing entry using ldapmodify.
+ *
+ * @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.bob.BobModrdnTests.testBobModrdn3" })
public void testBobDelete1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -54,6 +67,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Delete a non-existent entry using ldapmodify by trying to delete the entry that
+ * was deleted in the last step.
+ *
+ * @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.bob.BobDeleteTests.testBobDelete1" })
public void testBobDelete2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -71,6 +98,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Delete an entry that has a bad DN using ladpmodify.
+ *
+ * @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.bob.BobDeleteTests.testBobDelete2" })
public void testBobDelete3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -88,6 +128,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Delete five existing entries using ldapmodify.
+ *
+ * @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.bob.BobDeleteTests.testBobDelete3" })
public void testBobDelete4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -105,6 +158,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Delete five existing entries using ldapmodify, the fourth of which
+ * has a bad DN.
+ *
+ * @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.bob.BobDeleteTests.testBobDelete4" })
public void testBobDelete5(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -122,6 +189,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Delete an existing entry using ldapmodify with an ldif file that
+ * improperly has the format for ldapdelete.
+ *
+ * @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.bob.BobDeleteTests.testBobDelete5" })
public void testBobDelete6(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -139,6 +220,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Delete an existing entry using ldapdelete.
+ *
+ * @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.bob.BobDeleteTests.testBobDelete6" })
public void testBobDelete7(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -156,6 +250,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Delete a non-existent entry using ldapdelete by trying to delete the entry that
+ * was deleted in the last step.
+ *
+ * @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.bob.BobDeleteTests.testBobDelete7" })
public void testBobDelete8(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -173,6 +281,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Delete an entry that has a bad DN using ldapdelete.
+ *
+ * @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.bob.BobDeleteTests.testBobDelete8" })
public void testBobDelete9(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -190,6 +311,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Delete five existing entries using ldapdelete.
+ *
+ * @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.bob.BobDeleteTests.testBobDelete9" })
public void testBobDelete10(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -207,6 +341,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Delete five existing entries using ldapdelete, the fourth of which
+ * has a bad DN.
+ *
+ * @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.bob.BobDeleteTests.testBobDelete10" })
public void testBobDelete11(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -224,6 +372,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Delete an existing entry using ldapdelete with a file that
+ * improperly has the format for ldapmodify.
+ *
+ * @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.bob.BobDeleteTests.testBobDelete11" })
public void testBobDelete12(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobModTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobModTests.java
index eac61ef..f7de3ac 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobModTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobModTests.java
@@ -37,6 +37,19 @@
@Test
public class BobModTests extends BobTests
{
+/**
+ * Replace a small jpeg photo in an existing entry.
+ *
+ * @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.bob.BobAddTests.testBobAdd56" })
public void testBobMod1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -54,6 +67,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a large jpeg photo in an existing entry.
+ *
+ * @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.bob.BobModTests.testBobMod1" })
public void testBobMod2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -71,6 +97,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a small jpeg photo in each of five existing entries.
+ *
+ * @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.bob.BobModTests.testBobMod2" })
public void testBobMod3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -87,6 +126,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a large jpeg photo in each of five existing entries.
+ *
+ * @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.bob.BobModTests.testBobMod3" })
public void testBobMod4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -103,6 +155,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a short lableduri in an existing entry.
+ *
+ * @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.bob.BobModTests.testBobMod4" })
public void testBobMod5(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -119,6 +184,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a long lableduri in an existing entry.
+ *
+ * @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.bob.BobModTests.testBobMod5" })
public void testBobMod6(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -135,6 +213,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a short labeleduri in each of five existing entries.
+ *
+ * @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.bob.BobModTests.testBobMod6" })
public void testBobMod7(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -151,6 +242,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a long labeleduri in each of five existing entries.
+ *
+ * @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.bob.BobModTests.testBobMod7" })
public void testBobMod8(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -167,6 +271,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a short description in an existing entry.
+ *
+ * @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.bob.BobModTests.testBobMod8" })
public void testBobMod9(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -183,6 +300,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a long description in an existing entry.
+ *
+ * @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.bob.BobModTests.testBobMod9" })
public void testBobMod10(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -199,6 +329,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a short description in each of five existing entries.
+ *
+ * @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.bob.BobModTests.testBobMod10" })
public void testBobMod11(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -215,6 +358,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a long description in each of five existing entries.
+ *
+ * @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.bob.BobModTests.testBobMod11" })
public void testBobMod12(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -231,6 +387,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a short seeAlso in an existing entry.
+ *
+ * @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.bob.BobModTests.testBobMod12" })
public void testBobMod13(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -247,6 +416,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a long seeAlso in an existing entry.
+ *
+ * @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.bob.BobModTests.testBobMod13" })
public void testBobMod14(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -263,6 +445,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a short seeAlso in each of five existing entries.
+ *
+ * @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.bob.BobModTests.testBobMod14" })
public void testBobMod15(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -279,6 +474,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a long seeAlso in each of five existing entries.
+ *
+ * @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.bob.BobModTests.testBobMod15" })
public void testBobMod16(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -295,6 +503,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a short pager number in an existing entry.
+ *
+ * @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.bob.BobModTests.testBobMod16" })
public void testBobMod17(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -311,6 +532,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a long pager number in an existing entry.
+ *
+ * @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.bob.BobModTests.testBobMod17" })
public void testBobMod18(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -327,6 +561,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a short pager number in each of five existing entries.
+ *
+ * @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.bob.BobModTests.testBobMod18" })
public void testBobMod19(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -343,6 +590,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a long pager number in each of five existing entries.
+ *
+ * @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.bob.BobModTests.testBobMod19" })
public void testBobMod20(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -359,6 +619,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a jpeg photo attribute with no value to an existing entry.
+ *
+ * @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.bob.BobModTests.testBobMod20" })
public void testBobMod21(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -375,6 +648,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a jpeg photo attribute with an ascii value to an existing entry.
+ *
+ * @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.bob.BobModTests.testBobMod21" })
public void testBobMod22(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -391,6 +677,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a jpeg photo attribute which is in ascii format but has a
+ * null value to an existing entry.
+ *
+ * @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.bob.BobModTests.testBobMod22" })
public void testBobMod23(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -407,6 +707,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a jpeg photo attribute with an extra large photo to an existing entry
+ *
+ * @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.bob.BobModTests.testBobMod23" })
public void testBobMod24(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -423,6 +736,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a description that has no value.
+ *
+ * @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.bob.BobModTests.testBobMod24" })
public void testBobMod25(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -439,6 +765,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a description that has a binary value.
+ *
+ * @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.bob.BobModTests.testBobMod25" })
public void testBobMod26(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -455,6 +794,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace a description that has a variety of different punctuation.
+ *
+ * @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.bob.BobModTests.testBobMod26" })
public void testBobMod27(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -471,6 +823,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace the description of each of five existing entries, but the
+ * fourth entry has the description in binary 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.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.bob.BobModTests.testBobMod27" })
public void testBobMod28(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobModrdnTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobModrdnTests.java
index 4b5959e..26f2c70 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobModrdnTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobModrdnTests.java
@@ -37,6 +37,19 @@
@Test
public class BobModrdnTests extends BobTests
{
+/**
+ * Replace the RDN of an existing entry with a short RDN.
+ *
+ * @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.bob.BobModTests.testBobMod28" })
public void testBobModrdn1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -54,6 +67,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace the RDN of an existing entry with a long RDN.
+ *
+ * @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.bob.BobModrdnTests.testBobModrdn1" })
public void testBobModrdn2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -71,6 +97,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace the RDN of an existing entry with a very long RDN.
+ *
+ * @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.bob.BobModrdnTests.testBobModrdn2" })
public void testBobModrdn3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobStartupTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobStartupTests.java
index c7c2239..770aae4 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobStartupTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/bob/BobStartupTests.java
@@ -38,7 +38,17 @@
public class BobStartupTests extends BobTests
{
/**
- * Setup for bob tests
+ * Add entries that are required for the Bob Tests.
+ *
+ * @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.quickstart.QuickstartAddTests.testQuickstartAdd2" })
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreEntryCacheTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreEntryCacheTests.java
index 88376c3..13cb609 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreEntryCacheTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreEntryCacheTests.java
@@ -37,6 +37,20 @@
@Test
public class CoreEntryCacheTests extends CoreTests
{
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a single pipe character ("|") for an existing entry.
+ *
+ * @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.core.CoreTFFiltersTests.testCoreTFFilters4" })
public void testCoreEntryCache1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -53,6 +67,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Enable the default entry cache.
+ *
+ * @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.core.CoreEntryCacheTests.testCoreEntryCache1" })
public void testCoreEntryCache2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -70,6 +97,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add three attributes to cn=Entry Cache,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.core.CoreEntryCacheTests.testCoreEntryCache2" })
public void testCoreEntryCache3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -87,6 +127,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add one attribute that is not allowed under cn=Entry Cache,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.core.CoreEntryCacheTests.testCoreEntryCache3" })
public void testCoreEntryCache4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -104,6 +157,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add second entry cache which is an object of the ds-cfg-fifo-entry-cache class.
+ *
+ * @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.core.CoreEntryCacheTests.testCoreEntryCache4" })
public void testCoreEntryCache5(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -121,6 +187,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when an ldap search request is conducted.
+ *
+ * @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.core.CoreEntryCacheTests.testCoreEntryCache5" })
public void testCoreEntryCache6(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreSearchSizeLimitTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreSearchSizeLimitTests.java
index 99813dc..883c61d 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreSearchSizeLimitTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreSearchSizeLimitTests.java
@@ -37,6 +37,21 @@
@Test
public class CoreSearchSizeLimitTests extends CoreTests
{
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a search size limit defined in the command line and the search
+ * size is exceeed.
+ *
+ * @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.core.CoreStartupTests.testCoreStartup2" })
public void testCoreSearchSizeLimit1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -53,6 +68,21 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a search size limit defined in the command line and the search
+ * size is not exceeed.
+ *
+ * @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.core.CoreSearchSizeLimitTests.testCoreSearchSizeLimit1" })
public void testCoreSearchSizeLimit2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -69,7 +99,19 @@
compareExitCode(retCode, expCode);
}
- // Reconfigure the server-wide search size limit
+/**
+ * Change the server-wide search size limit to 5.
+ *
+ * @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.core.CoreSearchSizeLimitTests.testCoreSearchSizeLimit2" })
public void testCoreSearchSizeLimit3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -87,6 +129,21 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a search size limit defined by the server-wide parameter,
+ * ds-cfg-size-limit, and the search size limit is exceeded.
+ *
+ * @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.core.CoreSearchSizeLimitTests.testCoreSearchSizeLimit3" })
public void testCoreSearchSizeLimit4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -103,7 +160,19 @@
compareExitCode(retCode, expCode);
}
- // Increase the server-wide search size limit to 10000
+/**
+ * Change the server-wide search size limit to 1000.
+ *
+ * @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.core.CoreSearchSizeLimitTests.testCoreSearchSizeLimit4" })
public void testCoreSearchSizeLimit5(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -121,6 +190,21 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a search size limit defined by the server-wide parameter,
+ * ds-cfg-size-limit, and the search size limit is not exceeded.
+ *
+ * @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.core.CoreSearchSizeLimitTests.testCoreSearchSizeLimit5" })
public void testCoreSearchSizeLimit6(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -137,7 +221,19 @@
compareExitCode(retCode, expCode);
}
- // Reconfigure the user cn=Directory manager search size limit
+/**
+ * Change the search size limit for cn=Directory Manager to 5.
+ *
+ * @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.core.CoreSearchSizeLimitTests.testCoreSearchSizeLimit6" })
public void testCoreSearchSizeLimit7(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -155,6 +251,21 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a user search size limit defined by the user-specific parameter,
+ * ds-rlim-size-limit, and the search size limit is exceeded.
+ *
+ * @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.core.CoreSearchSizeLimitTests.testCoreSearchSizeLimit7" })
public void testCoreSearchSizeLimit8(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -171,6 +282,21 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a user search size limit defined by the user-specific parameter,
+ * ds-rlim-size-limit, and the search is conducted as a bind to a different user.
+ *
+ * @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.core.CoreSearchSizeLimitTests.testCoreSearchSizeLimit8" })
public void testCoreSearchSizeLimit9(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -187,7 +313,19 @@
compareExitCode(retCode, expCode);
}
- // Return the user cn=Directory manager search size limit to the deault, -1
+/**
+ * Change the search size limit for cn=Directory Manager to -1.
+ *
+ * @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.core.CoreSearchSizeLimitTests.testCoreSearchSizeLimit9" })
public void testCoreSearchSizeLimit10(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -205,6 +343,21 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a user search size limit defined as "unlimited" by the user-specific
+ * parameter, ds-rlim-size-limit, equal to -1 and the search is against 1150 entries.
+ *
+ * @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.core.CoreSearchSizeLimitTests.testCoreSearchSizeLimit10" })
public void testCoreSearchSizeLimit11(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreSearchTimeLimitTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreSearchTimeLimitTests.java
index 9af95d9..e59c179 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreSearchTimeLimitTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreSearchTimeLimitTests.java
@@ -37,9 +37,22 @@
@Test
public class CoreSearchTimeLimitTests extends CoreTests
{
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a search time limit defined in the command line and the search time is exceeeded.
+ *
+ * @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.core.CoreStartupTests.testCoreStartup2" })
- //@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.core.CoreSearchSizeLimitTests.testCoreSearchSizeLimit11" })
public void testCoreSearchTimeLimit1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
{
System.out.println("*********************************************");
@@ -54,6 +67,21 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a search time limit defined in the command line and the search time
+ * is not exceeeded.
+ *
+ * @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.core.CoreSearchTimeLimitTests.testCoreSearchTimeLimit1" })
public void testCoreSearchTimeLimit2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -70,7 +98,19 @@
compareExitCode(retCode, expCode);
}
- // Reconfigure the server-wide search time limit
+/**
+ * Change the server-wide search time limit to 1.
+ *
+ * @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.core.CoreSearchTimeLimitTests.testCoreSearchTimeLimit2" })
public void testCoreSearchTimeLimit3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -88,6 +128,21 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a search time limit defined by the server-wide parameter,
+ * ds-config-time-limit, and the search time limit is exceeded.
+ *
+ * @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.core.CoreSearchTimeLimitTests.testCoreSearchTimeLimit3" })
public void testCoreSearchTimeLimit4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -104,7 +159,19 @@
compareExitCode(retCode, expCode);
}
- // Return the server-wide search time limit to default value, 60
+/**
+ * Change the server-wide search time limit to 60.
+ *
+ * @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.core.CoreSearchTimeLimitTests.testCoreSearchTimeLimit4" })
public void testCoreSearchTimeLimit5(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -122,6 +189,21 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a search time limit defined by the server-wide parameter,
+ * ds-config-time-limit, and the search time limit is not exceeded.
+ *
+ * @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.core.CoreSearchTimeLimitTests.testCoreSearchTimeLimit5" })
public void testCoreSearchTimeLimit6(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -138,7 +220,19 @@
compareExitCode(retCode, expCode);
}
- // Reconfigure the user cn=Directory manager search time limit
+/**
+ * Change the user search time limit for cn=Directory Manager to 1.
+ *
+ * @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.core.CoreSearchTimeLimitTests.testCoreSearchTimeLimit6" })
public void testCoreSearchTimeLimit7(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -156,6 +250,21 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a user search time limit defined by the user-specific parameter,
+ * ds-rlim-time-limit, and the search time limit is exceeded.
+ *
+ * @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.core.CoreSearchTimeLimitTests.testCoreSearchTimeLimit7" })
public void testCoreSearchTimeLimit8(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -172,6 +281,21 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a user search time limit defined by the user-specific parameter,
+ * ds-rlim-time-limit, and the search is conducted as a different user.
+ *
+ * @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.core.CoreSearchTimeLimitTests.testCoreSearchTimeLimit8" })
public void testCoreSearchTimeLimit9(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -188,7 +312,19 @@
compareExitCode(retCode, expCode);
}
- // Return the user cn=Directory manager search time limit to the deault, -1
+/**
+ * Change the user search time limit for cn=Directory Manager to 60.
+ *
+ * @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.core.CoreSearchTimeLimitTests.testCoreSearchTimeLimit9" })
public void testCoreSearchTimeLimit10(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -206,6 +342,21 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a user search time limit defined by the user-specific parameter,
+ * ds-rlim-time-limit, equal to 60 and the search is conducted against 1150 entries.
+ *
+ * @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.core.CoreSearchTimeLimitTests.testCoreSearchTimeLimit10" })
public void testCoreSearchTimeLimit11(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreStartupTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreStartupTests.java
index 4c5227e..89b52c7 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreStartupTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreStartupTests.java
@@ -36,12 +36,21 @@
@Test
public class CoreStartupTests extends CoreTests
{
- /**
- * Setup for core tests
- */
+/**
+ * Add entries that are required for the Core Tests.
+ *
+ * @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.schema.SchemaRFCTests.testSchemaRFC35" })
- //@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.frontend.FrontendRFC2253_relationships.testFrontendUserRelationship10" })
public void testCoreStartup1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
{
System.out.println("*********************************************");
@@ -57,6 +66,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * To add 1000 extra entries that are required for some of the Core Tests.
+ *
+ * @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.core.CoreStartupTests.testCoreStartup1" })
public void testCoreStartup2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreTFFiltersTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreTFFiltersTests.java
index 00b06af..caf0b00 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreTFFiltersTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreTFFiltersTests.java
@@ -37,6 +37,20 @@
@Test
public class CoreTFFiltersTests extends CoreTests
{
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a single ampersand character ("&").
+ *
+ * @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.core.CoreVersionReportTests.testCoreVersionReport1" })
public void testCoreTFFilters1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -53,6 +67,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a single pipe character ("|").
+ *
+ * @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.core.CoreTFFiltersTests.testCoreTFFilters1" })
public void testCoreTFFilters2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -69,6 +97,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a single ampersand character ("&") for a non-existent entry.
+ *
+ * @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.core.CoreTFFiltersTests.testCoreTFFilters2" })
public void testCoreTFFilters3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -85,6 +127,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * with a single pipe character ("|") for a non-existent entry.
+ *
+ * @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.core.CoreTFFiltersTests.testCoreTFFilters3" })
public void testCoreTFFilters4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreVersionReportTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreVersionReportTests.java
index b49c12f..adfa501 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreVersionReportTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/core/CoreVersionReportTests.java
@@ -37,9 +37,21 @@
@Test
public class CoreVersionReportTests extends CoreTests
{
+/**
+ * Check the response of OpenDS when an ldap search request is conducted
+ * for the current version of 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.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
- //@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.core.CoreSearchSizeLimitTests.testCoreSearchSizeLimit11" })
- //@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.core.CoreStartupTests.testCoreStartup2" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.core.CoreSearchTimeLimitTests.testCoreSearchTimeLimit11" })
public void testCoreVersionReport1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
{
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_binds.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_binds.java
index bccdfd5..7a84deb 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_binds.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_binds.java
@@ -37,6 +37,20 @@
@Test
public class FrontendRFC2251_binds extends FrontendTests
{
+/**
+ * Check the response of OpenDS when a search request is conducted
+ * with an anonymous bind.
+ *
+ * @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.frontend.FrontendStartupTests.testFrontendStartup1" })
public void testFrontendUserBind1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -53,6 +67,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when a search request is conducted
+ * as one of the users.
+ *
+ * @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.frontend.FrontendRFC2251_binds.testFrontendUserBind1" })
public void testFrontendUserBind2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -69,6 +97,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when a search request is conducted
+ * when binding as one of the users but with a bad password.
+ *
+ * @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.frontend.FrontendRFC2251_binds.testFrontendUserBind2" })
public void testFrontendUserBind3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -85,6 +127,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when a search request is conducted
+ * when binding as one of the users but with a null password.
+ *
+ * @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.frontend.FrontendRFC2251_binds.testFrontendUserBind3" })
public void testFrontendUserBind4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_compares.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_compares.java
index d585498..b950c99 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_compares.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_compares.java
@@ -37,6 +37,20 @@
@Test
public class FrontendRFC2251_compares extends FrontendTests
{
+/**
+ * Check the response of OpenDS when a compare request is conducted
+ * for an entry with one of its attributes and the attribute value.
+ *
+ * @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.frontend.FrontendRFC2251_binds.testFrontendUserBind4" })
public void testFrontendUserCompare1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -53,6 +67,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when a compare request is conducted
+ * for an entry with one of its attributes and the wrong attribute value.
+ *
+ * @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.frontend.FrontendRFC2251_compares.testFrontendUserCompare1" })
public void testFrontendUserCompare2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -69,6 +97,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when a compare request is conducted
+ * for an entry with a non-existent attribute and the attribute value.
+ *
+ * @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.frontend.FrontendRFC2251_compares.testFrontendUserCompare2" })
public void testFrontendUserCompare3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -85,6 +127,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when a compare request is conducted
+ * for a non-existent entry.
+ *
+ * @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.frontend.FrontendRFC2251_compares.testFrontendUserCompare3" })
public void testFrontendUserCompare4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_deletes.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_deletes.java
index 196af34..7d50763 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_deletes.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_deletes.java
@@ -37,6 +37,19 @@
@Test
public class FrontendRFC2251_deletes extends FrontendTests
{
+/**
+ * Check for the existence of the entry which will be deleted in the next 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.frontend.FrontendRFC2251_searches.testFrontendUserSearch11" })
public void testFrontendUserDelete1_precheck(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -53,6 +66,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when a delete request is conducted
+ * for an existing entry.
+ *
+ * @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.frontend.FrontendRFC2251_deletes.testFrontendUserDelete1_precheck" })
public void testFrontendUserDelete1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -69,6 +96,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check for the existence of the entry which was deleted 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.frontend.FrontendRFC2251_deletes.testFrontendUserDelete1" })
public void testFrontendUserDelete1_checkentry(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -85,6 +125,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check for the existence of the entry as a precheck for the next 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.frontend.FrontendRFC2251_deletes.testFrontendUserDelete1_checkentry" })
public void testFrontendUserDelete2_precheck(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -101,6 +154,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when a delete request is conducted
+ * for branch.
+ *
+ * @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.frontend.FrontendRFC2251_deletes.testFrontendUserDelete2_precheck" })
public void testFrontendUserDelete2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -117,6 +184,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check for the existence of the entry that should still be present
+ * after 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.frontend.FrontendRFC2251_deletes.testFrontendUserDelete2" })
public void testFrontendUserDelete2_checkentry(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -133,6 +214,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check for the existence of the entry as a precheck for the next 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.frontend.FrontendRFC2251_deletes.testFrontendUserDelete2_checkentry" })
public void testFrontendUserDelete3_precheck(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -149,6 +243,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the response of OpenDS when a delete request is conducted
+ * on a branck using the "-x" 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.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.frontend.FrontendRFC2251_deletes.testFrontendUserDelete3_precheck" })
public void testFrontendUserDelete3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -165,6 +273,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check for the existence of the entry that should have been deleted
+ * after 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.frontend.FrontendRFC2251_deletes.testFrontendUserDelete3" })
public void testFrontendUserDelete3_checkentries(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_modifies.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_modifies.java
index eb35198..2daafe4 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_modifies.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_modifies.java
@@ -37,6 +37,20 @@
@Test
public class FrontendRFC2251_modifies extends FrontendTests
{
+/**
+ * Check an entry for a non-existent attribute which will be added
+ * in the next 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.frontend.FrontendRFC2251_compares.testFrontendUserCompare4" })
public void testFrontendUserModify1_precheck(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -53,6 +67,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an attribute to an existing entry.
+ *
+ * @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.frontend.FrontendRFC2251_modifies.testFrontendUserModify1_precheck" })
public void testFrontendUserModify1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -70,6 +97,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check an entry for the attribute that was added 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.frontend.FrontendRFC2251_modifies.testFrontendUserModify1" })
public void testFrontendUserModify1_checkentry(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -86,6 +126,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check an entry for an existing attribute which will be deleted
+ * in the next 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.frontend.FrontendRFC2251_modifies.testFrontendUserModify1_checkentry" })
public void testFrontendUserModify2_precheck(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -102,6 +156,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Delete an attribute from an existing entry.
+ *
+ * @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.frontend.FrontendRFC2251_modifies.testFrontendUserModify2_precheck" })
public void testFrontendUserModify2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -119,6 +186,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check an entry for an attribute that was deleted 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.frontend.FrontendRFC2251_modifies.testFrontendUserModify2" })
public void testFrontendUserModify2_checkentry(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -135,6 +215,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check an entry for an existing attribute which will be replaced
+ * in the next 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.frontend.FrontendRFC2251_modifies.testFrontendUserModify2_checkentry" })
public void testFrontendUserModify3_precheck(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -151,6 +245,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Replace an attribute in an existing entry.
+ *
+ * @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.frontend.FrontendRFC2251_modifies.testFrontendUserModify3_precheck" })
public void testFrontendUserModify3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -168,6 +275,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check an entry for an existing attribute which was replaced
+ * 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.frontend.FrontendRFC2251_modifies.testFrontendUserModify3" })
public void testFrontendUserModify3_checkentry(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -184,6 +305,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check an entry for a non-existent attribute which will be added
+ * in the next 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.frontend.FrontendRFC2251_modifies.testFrontendUserModify3_checkentry" })
public void testFrontendUserModify4_precheck(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -200,6 +335,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an attribute to an existing entry by a replace operation.
+ *
+ * @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.frontend.FrontendRFC2251_modifies.testFrontendUserModify4_precheck" })
public void testFrontendUserModify4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -217,6 +365,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check an entry for the attribute which was added
+ * 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.frontend.FrontendRFC2251_modifies.testFrontendUserModify4" })
public void testFrontendUserModify4_checkentry(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -233,6 +395,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check an entry for an existing attribute which will be deleted
+ * in the next 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.frontend.FrontendRFC2251_modifies.testFrontendUserModify4_checkentry" })
public void testFrontendUserModify5_precheck(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -249,6 +425,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Delete an attribute from an existing entry by a replace operation.
+ *
+ * @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.frontend.FrontendRFC2251_modifies.testFrontendUserModify5_precheck" })
public void testFrontendUserModify5(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -266,6 +455,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check an entry for an attribute which was deleted
+ * 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.frontend.FrontendRFC2251_modifies.testFrontendUserModify5" })
public void testFrontendUserModify5_checkentry(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -282,6 +485,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check an entry for a non-existent 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.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.frontend.FrontendRFC2251_modifies.testFrontendUserModify5_checkentry" })
public void testFrontendUserModify6_precheck(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -298,6 +514,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Modify a non-existent attribute in an existing entry.
+ *
+ * @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.frontend.FrontendRFC2251_modifies.testFrontendUserModify6_precheck" })
public void testFrontendUserModify6(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -315,6 +544,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the entry was modified 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.frontend.FrontendRFC2251_modifies.testFrontendUserModify6" })
public void testFrontendUserModify6_checkentry(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -331,6 +573,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check an entry for a required 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.
+*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.frontend.FrontendRFC2251_modifies.testFrontendUserModify6_checkentry" })
public void testFrontendUserModify7_precheck(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -347,6 +602,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Delete a required attribute in an existing entry.
+ *
+ * @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.frontend.FrontendRFC2251_modifies.testFrontendUserModify7_precheck" })
public void testFrontendUserModify7(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -364,6 +632,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the entry was modified 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.frontend.FrontendRFC2251_modifies.testFrontendUserModify7" })
public void testFrontendUserModify7_checkentry(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_modifyrdns.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_modifyrdns.java
index ac19290..7f4d58f 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_modifyrdns.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_modifyrdns.java
@@ -37,6 +37,19 @@
@Test
public class FrontendRFC2251_modifyrdns extends FrontendTests
{
+/**
+ * Modify the RDN for an existing entry and retain the old RDN.
+ *
+ * @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.frontend.FrontendRFC2251_modifies.testFrontendUserModify7_checkentry" })
public void testFrontendUserModifyRDN1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -54,6 +67,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the entry that was modified 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.frontend.FrontendRFC2251_modifyrdns.testFrontendUserModifyRDN1" })
public void testFrontendUserModifyRDN1_check(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -70,6 +96,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Modify the RDN for an existing entry and delete the old RDN.
+ *
+ * @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.frontend.FrontendRFC2251_modifyrdns.testFrontendUserModifyRDN1_check" })
public void testFrontendUserModifyRDN2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -87,6 +126,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Check the entry that was modified 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.frontend.FrontendRFC2251_modifyrdns.testFrontendUserModifyRDN2" })
public void testFrontendUserModifyRDN2_check(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -103,6 +155,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Modify the RDN for non-existent entry.
+ *
+ * @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.frontend.FrontendRFC2251_modifyrdns.testFrontendUserModifyRDN2_check" })
public void testFrontendUserModifyRDN3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -120,6 +185,19 @@
compareExitCode(retCode, expCode);
}
+ * Modify the RDN for an existing entry to the RDN of another existing entry.
+ *
+ * @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" })
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.frontend.FrontendRFC2251_modifyrdns.testFrontendUserModifyRDN3" })
public void testFrontendUserModifyRDN4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_searches.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_searches.java
index 0fc2fe5..df98abe 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_searches.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2251_searches.java
@@ -37,6 +37,19 @@
@Test
public class FrontendRFC2251_searches extends FrontendTests
{
+/**
+ * Search for one existing entry.
+ *
+ * @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.frontend.FrontendRFC2251_modifyrdns.testFrontendUserModifyRDN4" })
public void testFrontendUserSearch1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -53,6 +66,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for one existing entry with the scope, "base".
+ *
+ * @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.frontend.FrontendRFC2251_searches.testFrontendUserSearch1" })
public void testFrontendUserSearch2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -69,6 +95,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for one existing entry with the scope, "sub".
+ *
+ * @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.frontend.FrontendRFC2251_searches.testFrontendUserSearch2" })
public void testFrontendUserSearch3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -85,6 +124,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for one existing entry and request only attribute names be returned.
+ *
+ * @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.frontend.FrontendRFC2251_searches.testFrontendUserSearch3" })
public void testFrontendUserSearch4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -101,6 +153,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries with a filter that includes an ampersand.
+ *
+ * @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.frontend.FrontendRFC2251_searches.testFrontendUserSearch4" })
public void testFrontendUserSearch5(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -117,6 +182,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries with a filter that includes an ampersand,
+ * but the filter is false for all entries.
+ *
+ * @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.frontend.FrontendRFC2251_searches.testFrontendUserSearch5" })
public void testFrontendUserSearch6(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -133,6 +212,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries with a filter that includes a pipe character.
+ *
+ * @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.frontend.FrontendRFC2251_searches.testFrontendUserSearch6" })
public void testFrontendUserSearch7(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -149,6 +241,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries with a filter that includes a pipe character,
+ * but one of the two statements is false for all entries.
+ *
+ * @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.frontend.FrontendRFC2251_searches.testFrontendUserSearch7" })
public void testFrontendUserSearch8(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -165,6 +271,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries with a filter that includes a pipe character
+ * an exclamation mark.
+ *
+ * @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.frontend.FrontendRFC2251_searches.testFrontendUserSearch8" })
public void testFrontendUserSearch9(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -181,6 +301,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries with a filter that contains an asterisk.
+ *
+ * @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.frontend.FrontendRFC2251_searches.testFrontendUserSearch9" })
public void testFrontendUserSearch10(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -197,6 +330,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries with a filter that contains a less-than character.
+ *
+ * @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.frontend.FrontendRFC2251_searches.testFrontendUserSearch10" })
public void testFrontendUserSearch11(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2252_standards.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2252_standards.java
index 5a7d5df..7b68c75 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2252_standards.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2252_standards.java
@@ -37,6 +37,20 @@
@Test
public class FrontendRFC2252_standards extends FrontendTests
{
+/**
+ * Verify the existence of the attribute, createTimestamp,
+ * for an existing entry.
+ *
+ * @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.frontend.FrontendRFC2251_deletes.testFrontendUserDelete3_checkentries" })
public void testFrontendUserStandard1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -53,6 +67,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Verify the existence of the attribute, creatorsName,
+ * for an existing entry.
+ *
+ * @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.frontend.FrontendRFC2252_standards.testFrontendUserStandard1" })
public void testFrontendUserStandard2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -69,6 +97,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Verify the existence of the attribute, modifyTimestamp,
+ * for an existing entry.
+ *
+ * @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.frontend.FrontendRFC2252_standards.testFrontendUserStandard2" })
public void testFrontendUserStandard3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -95,6 +137,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Verify the existence of the attribute, modifiersName,
+ * for an existing entry.
+ *
+ * @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.frontend.FrontendRFC2252_standards.testFrontendUserStandard3" })
public void testFrontendUserStandard4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2252_syntax.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2252_syntax.java
index c749da7..27fe58e 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2252_syntax.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2252_syntax.java
@@ -37,6 +37,20 @@
@Test
public class FrontendRFC2252_syntax extends FrontendTests
{
+/**
+ * Search for entries with a filter that contains a single quote
+ * character as the hexadecimal value, 27.
+ *
+ * @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.frontend.FrontendRFC2252_standards.testFrontendUserStandard4" })
public void testFrontendUserSyntax1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -53,6 +67,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries with a filter that contains a single back slash.
+ *
+ * @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.frontend.FrontendRFC2252_syntax.testFrontendUserSyntax1" })
public void testFrontendUserSyntax2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -69,6 +96,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries with a filter that contains an oglethorpe
+ * character as the hexadecimal value, 23.
+ *
+ * @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.frontend.FrontendRFC2252_syntax.testFrontendUserSyntax2" })
public void testFrontendUserSyntax3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2253_relationships.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2253_relationships.java
index 0e94b4e..221d932 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2253_relationships.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendRFC2253_relationships.java
@@ -37,6 +37,19 @@
@Test
public class FrontendRFC2253_relationships extends FrontendTests
{
+/**
+ * Search for entries that have a base DN that contains semicolons.
+ *
+ * @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.frontend.FrontendRFC2252_syntax.testFrontendUserSyntax3" })
public void testFrontendUserRelationship1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -53,6 +66,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries that have a base DN that contains extra spaces.
+ *
+ * @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.frontend.FrontendRFC2253_relationships.testFrontendUserRelationship1" })
public void testFrontendUserRelationship2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -69,6 +95,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries that have a base DN that contains quote marks.
+ *
+ * @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.frontend.FrontendRFC2253_relationships.testFrontendUserRelationship2" })
public void testFrontendUserRelationship3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -85,6 +124,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries that have a base DN that contains quote marks
+ * and a comma.
+ *
+ * @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.frontend.FrontendRFC2253_relationships.testFrontendUserRelationship3" })
public void testFrontendUserRelationship4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -101,6 +154,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries that have a base DN that contains an equal sign.
+ *
+ * @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.frontend.FrontendRFC2253_relationships.testFrontendUserRelationship4" })
public void testFrontendUserRelationship5(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -117,6 +183,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries that have a base DN that contains an equal sign
+ * and a plus sign.
+ *
+ * @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.frontend.FrontendRFC2253_relationships.testFrontendUserRelationship5" })
public void testFrontendUserRelationship6(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -133,6 +213,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries that have a base DN that contains an equal sign
+ * and a greater-than sign.
+ *
+ * @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.frontend.FrontendRFC2253_relationships.testFrontendUserRelationship6" })
public void testFrontendUserRelationship7(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -149,6 +243,20 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries that have a base DN that contains an equal sign
+ * and a less-than sign.
+ *
+ * @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.frontend.FrontendRFC2253_relationships.testFrontendUserRelationship7" })
public void testFrontendUserRelationship8(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -165,6 +273,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries that have a base DN that contains an oglethorpe.
+ *
+ * @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.frontend.FrontendRFC2253_relationships.testFrontendUserRelationship8" })
public void testFrontendUserRelationship9(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -181,6 +302,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Search for entries that have a base DN that contains a semicolon.
+ *
+ * @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.frontend.FrontendRFC2253_relationships.testFrontendUserRelationship9" })
public void testFrontendUserRelationship10(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendStartupTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendStartupTests.java
index 8a7e606..818ce39 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendStartupTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/frontend/FrontendStartupTests.java
@@ -36,12 +36,21 @@
@Test
public class FrontendStartupTests extends FrontendTests
{
- /**
- * Setup for frontend tests
+/**
+ * Add entries that are required for the Frontend Tests.
+ *
+ * @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.bob.BobDeleteTests.testBobDelete12" })
- //@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.core.CoreStartupTests.testCoreStartup1" })
public void testFrontendStartup1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
{
System.out.println("*********************************************");
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/quickstart/QuickstartAddTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/quickstart/QuickstartAddTests.java
index 1d8f462..3e77d31 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/quickstart/QuickstartAddTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/quickstart/QuickstartAddTests.java
@@ -37,7 +37,13 @@
public class QuickstartAddTests extends QuickstartTests
{
/**
- * Setup for quickstartadd tests
+ * To make the directory for the OpenDS output that will be generated
+ * during the rest of the Integration Tests.
+ *
+ * @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({ "integration_test_home", "logDir" })
@Test
@@ -71,6 +77,19 @@
compareExitCode(0, 0);
}
+/**
+ * To add "dc=example,dc=com" and several entries under that dn.
+ *
+ * @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.quickstart.QuickstartAddTests.testQuickstartAdd1" })
public void testQuickstartAdd2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/schema/SchemaRFCTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/schema/SchemaRFCTests.java
index b1ace40..7b5484e 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/schema/SchemaRFCTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/schema/SchemaRFCTests.java
@@ -37,6 +37,19 @@
@Test
public class SchemaRFCTests extends SchemaTests
{
+/**
+ * Add an entry that is covered by rfc 2079.
+ *
+ * @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.schema.SchemaStartupTests.testSchemaStartup1" })
public void testSchemaRFC1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -54,6 +67,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by rfc 2247.
+ *
+ * @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 = { "testSchemaRFC1" })
public void testSchemaRFC2(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -71,6 +97,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by rfc 2247.
+ *
+ * @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 = { "testSchemaRFC2" })
public void testSchemaRFC3(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -88,6 +127,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by rfc 2247.
+ *
+ * @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 = { "testSchemaRFC3" })
public void testSchemaRFC4(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -105,6 +157,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by rfc 2247.
+ *
+ * @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 = { "testSchemaRFC4" })
public void testSchemaRFC5(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -122,6 +187,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by rfc 2247.
+ *
+ * @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 = { "testSchemaRFC5" })
public void testSchemaRFC6(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -139,6 +217,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by rfc 2377.
+ *
+ * @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 = { "testSchemaRFC6" })
public void testSchemaRFC7(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -156,6 +247,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by rfc 2978.
+ *
+ * @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 = { "testSchemaRFC7" })
public void testSchemaRFC8(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -173,6 +277,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Modify an entry that is covered by rfc 3045.
+ *
+ * @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 = { "testSchemaRFC8" })
public void testSchemaRFC9(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -190,6 +307,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Modify an entry that is covered by rfc 3045.
+ *
+ * @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 = { "testSchemaRFC9" })
public void testSchemaRFC10(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -207,6 +337,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by rfc 4403.
+ *
+ * @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 = { "testSchemaRFC10" })
public void testSchemaRFC11(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -224,6 +367,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by rfc 4403.
+ *
+ * @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 = { "testSchemaRFC11" })
public void testSchemaRFC12(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -241,6 +397,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by rfc 4403.
+ *
+ * @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 = { "testSchemaRFC12" })
public void testSchemaRFC13(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -258,6 +427,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by rfc 4403.
+ *
+ * @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 = { "testSchemaRFC13" })
public void testSchemaRFC14(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -275,6 +457,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by rfc 4403.
+ *
+ * @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 = { "testSchemaRFC14" })
public void testSchemaRFC15(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -292,6 +487,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by draft-howard-rfc2307bis.
+ *
+ * @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 = { "testSchemaRFC15" })
public void testSchemaRFC16(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -309,6 +517,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is violates draft-howard-rfc2307bis.
+ *
+ * @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 = { "testSchemaRFC16" })
public void testSchemaRFC17(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -326,6 +547,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by draft-howard-rfc2307bis.
+ *
+ * @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 = { "testSchemaRFC17" })
public void testSchemaRFC18(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -343,6 +577,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by draft-howard-rfc2307bis.
+ *
+ * @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 = { "testSchemaRFC18" })
public void testSchemaRFC19(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -360,6 +607,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by draft-furseth-ldap-untypedobject.
+ *
+ * @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 = { "testSchemaRFC19" })
public void testSchemaRFC20(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -377,6 +637,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by draft-good-ldap-changelog.
+ *
+ * @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 = { "testSchemaRFC20" })
public void testSchemaRFC21(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -394,6 +667,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by draft-good-ldap-changelog.
+ *
+ * @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 = { "testSchemaRFC21" })
public void testSchemaRFC22(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -411,6 +697,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by draft-good-ldap-changelog.
+ *
+ * @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 = { "testSchemaRFC22" })
public void testSchemaRFC23(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -428,6 +727,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by draft-howard-namedobject.
+ *
+ * @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 = { "testSchemaRFC23" })
public void testSchemaRFC24(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -445,6 +757,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by draft-howard-namedobject.
+ *
+ * @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 = { "testSchemaRFC24" })
public void testSchemaRFC25(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -462,6 +787,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by draft-ietf-ldup-subentry.
+ *
+ * @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 = { "testSchemaRFC25" })
public void testSchemaRFC26(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -479,6 +817,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by draft-ietf-ldup-subentry.
+ *
+ * @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 = { "testSchemaRFC26" })
public void testSchemaRFC27(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -496,6 +847,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by draft-ietf-ldup-subentry.
+ *
+ * @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 = { "testSchemaRFC27" })
public void testSchemaRFC28(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -513,6 +877,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Disable schema checking.
+ *
+ * @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 = { "testSchemaRFC28" })
public void testSchemaRFC29(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -530,6 +907,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Enable schema checking.
+ *
+ * @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 = { "testSchemaRFC29" })
public void testSchemaRFC30(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -547,6 +937,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Disable syntax checking.
+ *
+ * @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 = { "testSchemaRFC30" })
public void testSchemaRFC31(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -564,6 +967,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Enable syntax checking.
+ *
+ * @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 = { "testSchemaRFC31" })
public void testSchemaRFC32(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -581,6 +997,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by draft-ietf-zeilenga-ldap-cosine.
+ *
+ * @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 = { "testSchemaRFC32" })
public void testSchemaRFC33(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -598,6 +1027,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by draft-ietf-zeilenga-ldap-cosine.
+ *
+ * @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 = { "testSchemaRFC33" })
public void testSchemaRFC34(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
@@ -615,6 +1057,19 @@
compareExitCode(retCode, expCode);
}
+/**
+ * Add an entry that is covered by draft-ietf-zeilenga-ldap-cosine.
+ *
+ * @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 = { "testSchemaRFC34" })
public void testSchemaRFC35(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/schema/SchemaStartupTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/schema/SchemaStartupTests.java
index 80dfe12..1a38762 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/schema/SchemaStartupTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/schema/SchemaStartupTests.java
@@ -37,8 +37,17 @@
public class SchemaStartupTests extends SchemaTests
{
/**
- * Setup for schema tests
-*/
+ * Add entries that are required for the Schema Tests.
+ *
+ * @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.frontend.FrontendRFC2253_relationships.testFrontendUserRelationship10" })
public void testSchemaStartup1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
--
Gitblit v1.10.0