mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
19.28.2008 370c93f8ca47bfdc7ff85818f28fb0c77b942717
Fix broken unit tests discovered by awang@ptc.com when attempting to port OpenDS to IBM JVM
2 files modified
13 ■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/plugins/SevenBitCleanPluginTestCase.java 5 ●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPModifyTestCase.java 8 ●●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/plugins/SevenBitCleanPluginTestCase.java
@@ -33,9 +33,6 @@
import org.opends.server.TestCaseUtils;
import org.opends.server.types.ResultCode;
import org.opends.server.core.AddOperation;
import org.opends.server.core.ModifyOperation;
import org.opends.server.core.ModifyDNOperation;
import org.opends.server.tools.LDAPModify;
import static org.testng.Assert.*;
@@ -630,7 +627,7 @@
      String path = TestCaseUtils.createTempFile(
        "dn: uid=test.user,o=test",
        "changetype: modrdn",
        "newrdn: uid=p\\e4ssw\\f6rd",
        "newrdn: uid=Lu\\C4\\8Di\\C4\\87",
        "deleteoldrdn: 1");
      String[] args =
opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPModifyTestCase.java
@@ -79,12 +79,12 @@
         throws Exception
  {
    TestCaseUtils.startServer();
    TestCaseUtils.dsconfig(
            "set-sasl-mechanism-handler-prop",
            "--handler-name", "DIGEST-MD5",
            "--set", "server-fqdn:" + "127.0.0.1");
    File pwFile = File.createTempFile("valid-bind-password-", ".txt");
    pwFile.deleteOnExit();
    FileWriter fileWriter = new FileWriter(pwFile);
@@ -108,7 +108,7 @@
  @AfterClass
  public void tearDown() throws Exception {
    TestCaseUtils.dsconfig(
            "set-sasl-mechanism-handler-prop",
            "--handler-name", "DIGEST-MD5",
@@ -857,6 +857,8 @@
  public void testPLAIN()
         throws Exception
  {
    TestCaseUtils.initializeTestBackend(true);
    String[] args =
    {
      "-h", "127.0.0.1",