Search in sources :

Example 1 with Addrole

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

the class FortressAntLoadTest method testReadRole.

@Test
public void testReadRole() {
    // gather role input data:
    List<Addrole> addroles = fortressAntTask.getAddroles();
    for (Addrole addrole : addroles) {
        List<Role> roles = addrole.getRoles();
        readRoles("RD-RLS", roles);
    }
}
Also used : Role(org.apache.directory.fortress.core.model.Role) UserRole(org.apache.directory.fortress.core.model.UserRole) Addrole(org.apache.directory.fortress.core.ant.Addrole) Test(org.junit.Test)

Aggregations

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