0N/A * The contents of this file are subject to the terms of the 0N/A * Common Development and Distribution License, Version 1.0 only 0N/A * (the "License"). You may not use this file except in compliance 0N/A * See the License for the specific language governing permissions 0N/A * and limitations under the License. 0N/A * When distributing Covered Code, include this CDDL HEADER in each 0N/A * If applicable, add the following below this CDDL HEADER, with the 0N/A * fields enclosed by brackets "[]" replaced with your own identifying 0N/A * Portions Copyright [yyyy] [name of copyright owner] 0N/A * Copyright 2009 Sun Microsystems, Inc. 1933N/A * This class provides a set of test cases for virtual attributes. 0N/A * Ensures that the Directory Server is running. 0N/A * @throws Exception If an unexpected problem occurs. 0N/A * Tests the addition of a new DITConentRule with a conflicting 0N/A * @throws Exception If an unexpected problem occurs. 0N/A "changetype: modify",
0N/A "nameForms: ( 1.3.6.1.1.10.15.100 NAME 'domainNameForm' OC domain MUST ( dc ) )",
0N/A "add: dITStructureRules",
0N/A "dITStructureRules: ( 1 NAME 'domainStructureRule' FORM domainNameForm )" 0N/A "-D",
"cn=directory manager",
0N/A //Shouldn't perform this operation. 0N/A * Tests the addition of new DITContentRules with unique rule ids. 0N/A * @throws Exception If an unexpected problem occurs. 0N/A "DITContentRuleTestCase.testInvalidDITContentRule"})
0N/A "changetype: modify",
0N/A "nameForms: ( 1.3.6.1.1.10.15.11 NAME 'domainNameForm' OC domain MUST ( dc ) )",
0N/A "nameForms: ( 1.3.6.1.1.10.15.12 NAME 'organizationalUnitNameForm' OC organizationalUnit MUST ( ou ) )",
0N/A "nameForms: ( 1.3.6.1.1.10.15.13 NAME 'inetOrgPersonNameForm' OC inetOrgPerson MUST ( uid ) )",
0N/A "nameForms: ( 1.3.6.1.1.10.15.14 NAME 'groupOfNamesNameForm' OC groupOfNames MUST ( cn ) )",
0N/A "add: dITStructureRules",
0N/A "dITStructureRules: ( 11 NAME 'domainStructureRule' FORM domainNameForm )",
0N/A "dITStructureRules: ( 12 NAME 'organizationalUnitStructureRule' FORM organizationalUnitNameForm SUP 1 )",
0N/A "dITStructureRules: ( 13 NAME 'inetOrgPersonStructureRule' FORM inetOrgPersonNameForm SUP 2 )",
0N/A "dITStructureRules: ( 14 NAME 'groupOfNamesStructureRule' FORM groupOfNamesNameForm SUP 2 )" 0N/A "-D",
"cn=directory manager",
0N/A //Should add the above entries. 0N/A * Cleans up the DITContentRules. 0N/A * @throws Exception If an unexpected problem occurs. 406N/A "DITContentRuleTestCase.testValidDITRContentRules"})
0N/A "changetype: modify",
0N/A "delete: dITStructureRules",
0N/A "dITStructureRules: ( 11 NAME 'domainStructureRule' FORM domainNameForm )",
0N/A "dITStructureRules: ( 12 NAME 'organizationalUnitStructureRule' FORM organizationalUnitNameForm SUP 1 )",
0N/A "dITStructureRules: ( 13 NAME 'inetOrgPersonStructureRule' FORM inetOrgPersonNameForm SUP 2 )",
0N/A "dITStructureRules: ( 14 NAME 'groupOfNamesStructureRule' FORM groupOfNamesNameForm SUP 2 )",
0N/A "delete: nameForms",
0N/A "nameForms: ( 1.3.6.1.1.10.15.11 NAME 'domainNameForm' OC domain MUST ( dc ) )",
0N/A "nameForms: ( 1.3.6.1.1.10.15.12 NAME 'organizationalUnitNameForm' OC organizationalUnit MUST ( ou ) )",
0N/A "nameForms: ( 1.3.6.1.1.10.15.13 NAME 'inetOrgPersonNameForm' OC inetOrgPerson MUST ( uid ) )",
0N/A "nameForms: ( 1.3.6.1.1.10.15.14 NAME 'groupOfNamesNameForm' OC groupOfNames MUST ( cn ) )" 0N/A "-D",
"cn=directory manager",
0N/A //Should delete the above entries.