use of org.eclipse.xtext.validation.IConcreteSyntaxValidator.DiagnosticChainAcceptor in project xtext-core by eclipse.
the class AbstractConcreteSyntaxValidationTest method validate.
protected AssertableDiagnostics validate(EObject obj) {
final BasicDiagnostic dc = new BasicDiagnostic();
getValidator().validateRecursive(obj, new DiagnosticChainAcceptor(dc), new HashMap<Object, Object>());
return new AssertableDiagnostics(dc);
}
Aggregations