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

Jean-Noël Rouvignac
21.50.2015 62b1b9b8e485048089a5bf379ba34ef95ad0ae2f
opendj-server-legacy/src/test/java/org/opends/server/DirectoryServerTestCase.java
@@ -33,7 +33,6 @@
import org.testng.annotations.AfterClass;
import org.forgerock.i18n.LocalizableMessage;
import org.forgerock.testng.ForgeRockTestCase;
import org.opends.server.replication.ReplicationTestCase;
import java.util.ArrayList;
import java.util.Collections;
@@ -65,13 +64,11 @@
    TestCaseUtils.unsupressOutput();
  }
  //
  // This is all a HACK to reduce the amount of memory that's consumed.
  //
  // This could be a problem if a subclass references a @DataProvider in
  // a super-class that provides static parameters, i.e. the parameters are
  // not regenerated for each invocation of the DataProvider.
  //
  /** A list of all parameters that were generated by a @DataProvider
   *  and passed to a test method of this class.  TestListener helps us
@@ -137,7 +134,7 @@
   */
  @AfterClass(alwaysRun = true)
  public void nullMemberVariablesAfterTest2() {
    Class<?> cls = this.getClass();
    Class<?> cls = getClass();
    // Iterate through all of the fields in all subclasses of
    // DirectoryServerTestCase, but not DirectoryServerTestCase itself.
    while (DirectoryServerTestCase.class.isAssignableFrom(cls) &&