Search in sources :

Example 1 with ValidateRequestBuilder

use of com.b2international.snowowl.core.validation.ValidateRequestBuilder in project snow-owl by b2ihealthcare.

the class BaseValidationTest method validate.

protected final ValidationIssues validate(String ruleId) {
    final ValidateRequestBuilder req = ValidationRequests.prepareValidate();
    configureValidationRequest(req);
    new RevisionIndexReadRequest<>(req.build()).execute(context);
    return ValidationRequests.issues().prepareSearch().all().filterByRule(ruleId).build().execute(context);
}
Also used : ValidateRequestBuilder(com.b2international.snowowl.core.validation.ValidateRequestBuilder)

Aggregations

ValidateRequestBuilder (com.b2international.snowowl.core.validation.ValidateRequestBuilder)1