public class ValidationTestHelper
extends java.lang.Object
Constructor and Description |
---|
ValidationTestHelper() |
Modifier and Type | Method and Description |
---|---|
void |
assertError(org.eclipse.emf.ecore.EObject model,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
java.lang.String... messageParts) |
void |
assertIssue(org.eclipse.emf.ecore.EObject model,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
Severity severity,
java.lang.String... messageParts) |
void |
assertNoError(org.eclipse.emf.ecore.EObject model,
java.lang.String issuecode) |
void |
assertNoErrors(org.eclipse.emf.ecore.EObject model) |
void |
assertNoIssues(org.eclipse.emf.ecore.EObject model) |
void |
assertWarning(org.eclipse.emf.ecore.EObject model,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
java.lang.String... messageParts) |
java.util.List<Issue> |
validate(org.eclipse.emf.ecore.EObject model) |
public java.util.List<Issue> validate(org.eclipse.emf.ecore.EObject model)
public void assertNoIssues(org.eclipse.emf.ecore.EObject model)
public void assertNoErrors(org.eclipse.emf.ecore.EObject model)
public void assertNoError(org.eclipse.emf.ecore.EObject model, java.lang.String issuecode)
public void assertError(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, java.lang.String... messageParts)
public void assertIssue(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, Severity severity, java.lang.String... messageParts)
public void assertWarning(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, java.lang.String... messageParts)