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

neil_a_wilson
01.59.2007 ad82286528c351ebbe7984d8d96afe80082e069d
Fix a problem in the RelativeInheritedDefaultBehaviorProviderTest test case
that would cause the class instantiation to fail if the server schema wasn't
available.

OpenDS Issue Number: 1868
1 files modified
12 ■■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/RelativeInheritedDefaultBehaviorProviderTest.java 12 ●●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/RelativeInheritedDefaultBehaviorProviderTest.java
@@ -33,6 +33,8 @@
import org.testng.annotations.Test;
import org.testng.annotations.BeforeClass;
import org.opends.server.TestCaseUtils;
/**
@@ -42,10 +44,18 @@
  private static final int OFFSET = 0;
  private static final TestParentCfgDefn d = TestParentCfgDefn.getInstance();
  private static final TestParentCfgDefn d;
  private RelativeInheritedDefaultBehaviorProvider<Integer> ridbp = null;
  static
  {
    try
    {
      TestCaseUtils.startServer();
    } catch (Exception e) {}
    d = TestParentCfgDefn.getInstance();
  }
  /**