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

Matthew Swift
24.57.2011 a849a42d97109bc9242c50c7abbd9857e865bb5e
opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/schema/SchemaCompatTest.java
File was renamed from opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/schema/SchemaCompatOptionsTest.java
@@ -36,9 +36,9 @@
/**
 * Test SchemaCompatOptions.
 * Tests schema compatibility options.
 */
public class SchemaCompatOptionsTest extends SchemaTestCase
public class SchemaCompatTest extends SchemaTestCase
{
  /**
   * Returns test data for valid attribute descriptions.
@@ -85,8 +85,7 @@
      boolean allowIllegalCharacters)
  {
    SchemaBuilder builder = new SchemaBuilder(Schema.getCoreSchema())
        .setSchemaCompatOptions(SchemaCompatOptions.defaultOptions()
            .allowMalformedNamesAndOptions(allowIllegalCharacters));
        .allowMalformedNamesAndOptions(allowIllegalCharacters);
    Schema schema = builder.toSchema().asNonStrictSchema();
    AttributeDescription.valueOf(atd, schema);
  }
@@ -134,8 +133,7 @@
      boolean allowIllegalCharacters)
  {
    SchemaBuilder builder = new SchemaBuilder(Schema.getCoreSchema())
        .setSchemaCompatOptions(SchemaCompatOptions.defaultOptions()
            .allowMalformedNamesAndOptions(allowIllegalCharacters));
        .allowMalformedNamesAndOptions(allowIllegalCharacters);
    Schema schema = builder.toSchema().asNonStrictSchema();
    AttributeDescription.valueOf(atd, schema);
  }
@@ -237,8 +235,7 @@
      Syntax syntax, boolean allowIllegalCharacters)
  {
    SchemaBuilder builder = new SchemaBuilder()
        .setSchemaCompatOptions(SchemaCompatOptions.defaultOptions()
            .allowMalformedNamesAndOptions(allowIllegalCharacters));
        .allowMalformedNamesAndOptions(allowIllegalCharacters);
    if (syntax == ATD_SYNTAX)
    {
@@ -340,8 +337,7 @@
      Syntax syntax, boolean allowIllegalCharacters)
  {
    SchemaBuilder builder = new SchemaBuilder()
        .setSchemaCompatOptions(SchemaCompatOptions.defaultOptions()
            .allowMalformedNamesAndOptions(allowIllegalCharacters));
        .allowMalformedNamesAndOptions(allowIllegalCharacters);
    if (syntax == ATD_SYNTAX)
    {