Search in sources :

Example 1 with CompositeEValidator

use of org.eclipse.xtext.validation.CompositeEValidator in project xtext-core by eclipse.

the class Bug367679Test method assertValidatorExists.

protected void assertValidatorExists() {
    EValidator eValidator = EValidator.Registry.INSTANCE.getEValidator(XtextPackage.eINSTANCE);
    Assert.assertNotNull(eValidator);
    Assert.assertTrue(eValidator instanceof CompositeEValidator);
}
Also used : CompositeEValidator(org.eclipse.xtext.validation.CompositeEValidator) EValidator(org.eclipse.emf.ecore.EValidator) CompositeEValidator(org.eclipse.xtext.validation.CompositeEValidator)

Aggregations

EValidator (org.eclipse.emf.ecore.EValidator)1 CompositeEValidator (org.eclipse.xtext.validation.CompositeEValidator)1