Search in sources :

Example 1 with Adduserrole

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

the class FortressAntLoadTest method testAssignedRoles.

@Test
public void testAssignedRoles() {
    // gather assigned user to role input data:
    List<Adduserrole> adduserroles = fortressAntTask.getAdduserroles();
    for (Adduserrole adduserrole : adduserroles) {
        List<UserRole> userroles = adduserrole.getUserRoles();
        assignedRoles("ASGN-RLS", userroles);
    }
}
Also used : UserRole(org.apache.directory.fortress.core.model.UserRole) Adduserrole(org.apache.directory.fortress.core.ant.Adduserrole) Test(org.junit.Test)

Aggregations

Adduserrole (org.apache.directory.fortress.core.ant.Adduserrole)1 UserRole (org.apache.directory.fortress.core.model.UserRole)1 Test (org.junit.Test)1