org.eclipse.xtext.junit4.validation
Class AbstractValidatorTester

java.lang.Object
  extended by org.eclipse.xtext.junit4.validation.AbstractValidatorTester
Direct Known Subclasses:
RegisteredValidatorTester, ValidatorTester

public abstract class AbstractValidatorTester
extends java.lang.Object

Author:
Moritz Eysholdt - Initial contribution and API

Field Summary
protected  org.eclipse.emf.ecore.util.Diagnostician diagnostician
           
 
Constructor Summary
AbstractValidatorTester()
           
 
Method Summary
 AssertableDiagnostics validate(org.eclipse.emf.ecore.EDataType type, java.lang.Object obj)
           
 AssertableDiagnostics validate(org.eclipse.emf.ecore.EObject obj)
           
 AssertableDiagnostics validate(org.eclipse.emf.ecore.EObject obj, java.util.Map<?,?> contextEntries)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

diagnostician

protected org.eclipse.emf.ecore.util.Diagnostician diagnostician
Constructor Detail

AbstractValidatorTester

public AbstractValidatorTester()
Method Detail

validate

public AssertableDiagnostics validate(org.eclipse.emf.ecore.EDataType type,
                                      java.lang.Object obj)

validate

public AssertableDiagnostics validate(org.eclipse.emf.ecore.EObject obj)

validate

public AssertableDiagnostics validate(org.eclipse.emf.ecore.EObject obj,
                                      java.util.Map<?,?> contextEntries)