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

coulbeck
10.58.2006 8af1e5eb227ef16d40d47c08bd09c1bd2fccf134
opends/tests/unit-tests-testng/src/server/org/opends/server/backends/jeb/TestBackendImpl.java
@@ -30,6 +30,7 @@
import java.io.File;
import org.opends.server.InitialDirectoryServerFixture;
import org.opends.server.TestCaseUtils;
import org.opends.server.api.Backend;
import org.opends.server.config.ConfigEntry;
import org.opends.server.core.DirectoryException;
@@ -46,6 +47,7 @@
 * BackendImpl Tester.
 */
public class TestBackendImpl extends JebTestCase {
  private File tempDir;
  private String homeDirName;
  private static final String ldifString =
@@ -70,9 +72,8 @@
  public void setUp() throws Exception {
    InitialDirectoryServerFixture.FACTORY.setUp();
    File tempFile = File.createTempFile("jebtest", "");
    tempFile.delete();
    homeDirName = tempFile.getAbsolutePath();
    tempDir = TestCaseUtils.createTemporaryDirectory("jebtest");
    homeDirName = tempDir.getAbsolutePath();
    final String s = ldifString.replaceAll("ds-cfg-backend-directory: db",
        "ds-cfg-backend-directory:: "
@@ -96,8 +97,7 @@
  public void tearDown() throws Exception {
    InitialDirectoryServerFixture.FACTORY.tearDown();
    File homeDir = new File(homeDirName);
    homeDir.delete();
    TestCaseUtils.deleteDirectory(tempDir);
  }
  /**