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

Nicolas Capponi
14.53.2016 97050c54efee9d0cc89afb5fb61b9a1c67f73f6a
opendj-server-legacy/src/test/java/org/opends/server/backends/GenericLocalBackendTestCase.java
File was renamed from opendj-server-legacy/src/test/java/org/opends/server/backends/GenericBackendTestCase.java
@@ -33,7 +33,7 @@
/** A set of generic test cases that apply to all Directory Server backends. */
@SuppressWarnings("javadoc")
public class GenericBackendTestCase extends BackendTestCase
public class GenericLocalBackendTestCase extends BackendTestCase
{
  /** Ensures that the Directory Server is running. */
  @BeforeClass
@@ -49,7 +49,7 @@
   * @return  The backends defined in the server.
   */
  @DataProvider(name = "backends")
  public Object[][] getBackends()
  public Object[][] getLocalBackends()
  {
    List<LocalBackend<?>> backendList = new ArrayList<>(
        TestCaseUtils.getServerContext().getBackendConfigManager().getLocalBackends());
@@ -156,20 +156,6 @@
    b.getEntryCount();
  }
  /** Tests the {@link LocalBackend#getParentBackend} method for the provided backend. */
  @Test(dataProvider = "backends")
  public void testGetParentBackend(LocalBackend<?> b)
  {
    b.getParentBackend();
  }
  /** Tests the {@link LocalBackend#getSubordinateBackends} method for the provided backend. */
  @Test(dataProvider = "backends")
  public void testGetSubordinateBackends(LocalBackend<?> b)
  {
    assertNotNull(b.getSubordinateBackends());
  }
  /**
   * Tests the {@link LocalBackend#handlesEntry} method for the provided backend for each of the declared
   * base DNs.