| | |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Portions copyright 2011-2015 ForgeRock AS |
| | | * Portions Copyright 2011-2015 ForgeRock AS |
| | | */ |
| | | package org.opends.server.admin; |
| | | |
| | |
| | | return params; |
| | | } |
| | | |
| | | // Exceptions to config objects having a differnt objectclass |
| | | // Exceptions to config objects having a different objectclass |
| | | private static final List<String> CLASS_OBJECT_CLASS_EXCEPTIONS = |
| | | Arrays.asList( |
| | | "org.opends.server.admin.std.meta.RootCfgDefn", |
| | |
| | | validatePropertyDefinition(objectDef, configObjectClass, propDef, errors); |
| | | } |
| | | |
| | | if (errors.length() > 0) { |
| | | Assert.fail("The configuration definition for " + objectDef.getName() + " has the following problems: " + EOL + |
| | | errors.toString()); |
| | | } |
| | | Assert.assertEquals(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'. |