Search in sources :

Example 1 with EObjectValidator

use of org.eclipse.emf.ecore.util.EObjectValidator in project xtext-extras by eclipse.

the class AbstractTypeProviderTest method setUp.

@Before
public void setUp() throws Exception {
    EValidator.Registry registry = new EValidatorRegistryImpl(EValidator.Registry.INSTANCE);
    registry.put(TypesPackage.eINSTANCE, new EObjectValidator());
    diagnostician = new Diagnostician(registry);
}
Also used : Diagnostician(org.eclipse.emf.ecore.util.Diagnostician) EObjectValidator(org.eclipse.emf.ecore.util.EObjectValidator) EValidator(org.eclipse.emf.ecore.EValidator) EValidatorRegistryImpl(org.eclipse.emf.ecore.impl.EValidatorRegistryImpl) Before(org.junit.Before)

Example 2 with EObjectValidator

use of org.eclipse.emf.ecore.util.EObjectValidator in project xtext-eclipse by eclipse.

the class AbstractTypeProviderTest method setUp.

@Before
public void setUp() throws Exception {
    EValidator.Registry registry = new EValidatorRegistryImpl(EValidator.Registry.INSTANCE);
    registry.put(TypesPackage.eINSTANCE, new EObjectValidator());
    diagnostician = new Diagnostician(registry);
}
Also used : Diagnostician(org.eclipse.emf.ecore.util.Diagnostician) EObjectValidator(org.eclipse.emf.ecore.util.EObjectValidator) EValidator(org.eclipse.emf.ecore.EValidator) EValidatorRegistryImpl(org.eclipse.emf.ecore.impl.EValidatorRegistryImpl) Before(org.junit.Before)

Aggregations

EValidator (org.eclipse.emf.ecore.EValidator)2 EValidatorRegistryImpl (org.eclipse.emf.ecore.impl.EValidatorRegistryImpl)2 Diagnostician (org.eclipse.emf.ecore.util.Diagnostician)2 EObjectValidator (org.eclipse.emf.ecore.util.EObjectValidator)2 Before (org.junit.Before)2