use of org.yakindu.base.types.validation.IValidationIssueAcceptor.ListBasedValidationIssueAcceptor in project statecharts by Yakindu.
the class AbstractTypeInferrerTest method expectError.
protected void expectError(EObject element, String code) {
ListBasedValidationIssueAcceptor diagnostics = validate(element);
assertError(diagnostics, code);
}
use of org.yakindu.base.types.validation.IValidationIssueAcceptor.ListBasedValidationIssueAcceptor in project statecharts by Yakindu.
the class AbstractTypeInferrerTest method expectWarning.
protected void expectWarning(EObject element, String code) {
ListBasedValidationIssueAcceptor diagnostics = validate(element);
assertWarning(diagnostics, code);
}
use of org.yakindu.base.types.validation.IValidationIssueAcceptor.ListBasedValidationIssueAcceptor in project statecharts by Yakindu.
the class AbstractTypeInferrerTest method expectNoErrors.
protected void expectNoErrors(EObject element) {
ListBasedValidationIssueAcceptor diagnostics = validate(element);
assertNoErrors(diagnostics);
}
use of org.yakindu.base.types.validation.IValidationIssueAcceptor.ListBasedValidationIssueAcceptor in project statecharts by Yakindu.
the class AbstractTypeInferrerTest method expectErrors.
protected void expectErrors(String expression, String scope, String code, int noOfErrors) {
ListBasedValidationIssueAcceptor diagnostics = validate(expression, scope);
assertErrors(diagnostics, code, noOfErrors);
}
use of org.yakindu.base.types.validation.IValidationIssueAcceptor.ListBasedValidationIssueAcceptor in project statecharts by Yakindu.
the class AbstractTypeInferrerTest method expectError.
protected void expectError(String expression, String scope, String code) {
ListBasedValidationIssueAcceptor diagnostics = validate(expression, scope);
assertError(diagnostics, code);
}
Aggregations