use of org.apache.directory.api.ldap.aci.protectedItem.ClassesItem in project directory-ldap-api by apache.
the class ClassesItemTest method initNames.
/**
* Initialize classesItem instances
*/
@Before
public void initNames() throws Exception {
classesItemA = new ClassesItem(new SubstringNode("aa"));
classesItemACopy = new ClassesItem(new SubstringNode("aa"));
classesItemB = new ClassesItem(new SubstringNode("aa"));
classesItemC = new ClassesItem(new SubstringNode("cc"));
}
use of org.apache.directory.api.ldap.aci.protectedItem.ClassesItem in project directory-ldap-api by apache.
the class ProtectedItem_ClassesTest method initNames.
/**
* Initialize name instances
*/
@Before
public void initNames() throws Exception {
ExprNode filterA = FilterParser.parse("(&(cn=test)(sn=test))");
ExprNode filterB = FilterParser.parse("(&(cn=test)(sn=test))");
ExprNode filterC = FilterParser.parse("(&(cn=sample)(sn=sample))");
classesA = new ClassesItem(filterA);
classesACopy = new ClassesItem(filterA);
classesB = new ClassesItem(filterB);
classesC = new ClassesItem(filterC);
}
Aggregations