Search in sources :

Example 1 with AddpermOp

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

the class FortressAntLoadTest method testReadPermissionOp.

@Test
public void testReadPermissionOp() {
    // gather permission operation input data:
    List<AddpermOp> addpermOps = fortressAntTask.getAddpermOps();
    for (AddpermOp addpermOp : addpermOps) {
        List<PermAnt> permissions = addpermOp.getPermOps();
        readPermissionOps("RD-PRM-OPS", permissions);
    }
}
Also used : PermAnt(org.apache.directory.fortress.core.ant.PermAnt) AddpermOp(org.apache.directory.fortress.core.ant.AddpermOp) Test(org.junit.Test)

Aggregations

AddpermOp (org.apache.directory.fortress.core.ant.AddpermOp)1 PermAnt (org.apache.directory.fortress.core.ant.PermAnt)1 Test (org.junit.Test)1