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

Jean-Noel Rouvignac
21.09.2014 b9e8d5ed3125cefd113cce1733810b09882c9604
opendj-config/src/test/java/org/forgerock/opendj/config/ValidateConfigDefinitionsTest.java
@@ -36,12 +36,13 @@
import org.forgerock.opendj.ldap.schema.AttributeType;
import org.forgerock.opendj.ldap.schema.ObjectClass;
import org.forgerock.opendj.ldap.schema.Schema;
import org.testng.Assert;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import static org.testng.Assert.*;
@SuppressWarnings("javadoc")
@Test(singleThreaded = true)
public class ValidateConfigDefinitionsTest extends ConfigTestCase {
@@ -103,10 +104,8 @@
            validatePropertyDefinition(objectDef, configObjectClass, propDef, errors);
        }
        if (errors.length() > 0) {
            Assert.fail("The configuration definition for " + objectDef.getName() + " has the following problems: "
                + EOL + errors.toString());
        }
        assertTrue(errors.length() != 0,
                "The configuration definition for " + objectDef.getName() + " has the following problems: " + EOL + errors);
    }
    /** Exceptions to properties ending in -class being exactly 'java-class'. */