Search in sources :

Example 1 with AddpermObj

use of org.apache.directory.fortress.core.ant.AddpermObj in project directory-fortress-core by apache.

the class FortressAntLoadTest method testReadPermissionObj.

@Test
public void testReadPermissionObj() {
    // gather permission object input data:
    List<AddpermObj> addpermObjs = fortressAntTask.getAddpermObjs();
    for (AddpermObj addpermObj : addpermObjs) {
        List<PermObj> permObjs = addpermObj.getPermObjs();
        readPermissionObjs("RD-PRM-OBJS", permObjs);
    }
}
Also used : PermObj(org.apache.directory.fortress.core.model.PermObj) AddpermObj(org.apache.directory.fortress.core.ant.AddpermObj) Test(org.junit.Test)

Aggregations

AddpermObj (org.apache.directory.fortress.core.ant.AddpermObj)1 PermObj (org.apache.directory.fortress.core.model.PermObj)1 Test (org.junit.Test)1