use of org.sonar.db.component.ResourceTypesRule in project sonarqube by SonarSource.
the class SearchProjectPermissionsActionTest method buildWsAction.
@Override
protected SearchProjectPermissionsAction buildWsAction() {
i18n.setProjectPermissions();
ResourceTypesRule rootResourceTypes = newRootResourceTypes();
PermissionWsSupport wsSupport = newPermissionWsSupport();
SearchProjectPermissionsDataLoader dataLoader = new SearchProjectPermissionsDataLoader(db.getDbClient(), wsSupport, rootResourceTypes);
return new SearchProjectPermissionsAction(db.getDbClient(), userSession, i18n, rootResourceTypes, dataLoader, wsSupport);
}
Aggregations