Adding comments for javadoc.... part 1.
| | |
| | | |
| | | /** |
| | | * 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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" }) |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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("*********************************************"); |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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("*********************************************"); |
| | |
| | | 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 |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | | { |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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("*********************************************"); |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |
| | |
| | | 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 |