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,
int offset,
int length,
java.lang.String... messageParts) |
void |
assertError(org.eclipse.emf.ecore.EObject model,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
java.lang.String... messageParts) |
void |
assertError(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
int offset,
int length,
java.lang.String... messageParts) |
void |
assertError(org.eclipse.emf.ecore.resource.Resource resource,
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 issueCode,
int offset,
int length,
Severity severity,
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 |
assertIssue(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
int offset,
int length,
Severity severity,
java.lang.String... messageParts) |
void |
assertIssue(org.eclipse.emf.ecore.resource.Resource resource,
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 |
assertNoError(org.eclipse.emf.ecore.resource.Resource resource,
java.lang.String issuecode) |
void |
assertNoErrors(org.eclipse.emf.ecore.EObject model) |
void |
assertNoErrors(org.eclipse.emf.ecore.EObject model,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
java.lang.String... messageParts) |
void |
assertNoErrors(org.eclipse.emf.ecore.EObject model,
java.lang.String code) |
void |
assertNoErrors(org.eclipse.emf.ecore.resource.Resource resource) |
void |
assertNoErrors(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
java.lang.String... messageParts) |
void |
assertNoErrors(org.eclipse.emf.ecore.resource.Resource resource,
java.lang.String code) |
void |
assertNoIssue(org.eclipse.emf.ecore.EObject model,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String issueCode) |
void |
assertNoIssue(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String issuecode) |
void |
assertNoIssues(org.eclipse.emf.ecore.EObject model) |
void |
assertNoIssues(org.eclipse.emf.ecore.EObject model,
org.eclipse.emf.ecore.EClass objectType) |
void |
assertNoIssues(org.eclipse.emf.ecore.EObject model,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String issueCode,
int offset,
int length,
Severity severity,
java.lang.String... messageParts) |
void |
assertNoIssues(org.eclipse.emf.ecore.EObject model,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
Severity severity,
java.lang.String... messageParts) |
void |
assertNoIssues(org.eclipse.emf.ecore.resource.Resource resource) |
void |
assertNoIssues(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.EClass objectType) |
void |
assertNoIssues(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
int offset,
int length,
Severity severity,
java.lang.String... messageParts) |
void |
assertNoIssues(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
Severity severity,
java.lang.String... messageParts) |
void |
assertNoWarnings(org.eclipse.emf.ecore.EObject model,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
java.lang.String... messageParts) |
void |
assertNoWarnings(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
java.lang.String... messageParts) |
void |
assertWarning(org.eclipse.emf.ecore.EObject model,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
int offset,
int length,
java.lang.String... messageParts) |
void |
assertWarning(org.eclipse.emf.ecore.EObject model,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
java.lang.String... messageParts) |
void |
assertWarning(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
int offset,
int length,
java.lang.String... messageParts) |
void |
assertWarning(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
java.lang.String... messageParts) |
protected java.lang.StringBuilder |
doGetIssuesAsString(org.eclipse.emf.ecore.resource.Resource resource,
java.lang.Iterable<Issue> issues,
java.lang.StringBuilder result) |
protected java.lang.Iterable<Issue> |
doMatchIssues(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
int offset,
int length,
Severity severity,
java.util.List<Issue> validate,
java.lang.String... messageParts) |
protected java.lang.StringBuilder |
getIssuesAsString(org.eclipse.emf.ecore.EObject model,
java.lang.Iterable<Issue> issues,
java.lang.StringBuilder result) |
protected java.lang.StringBuilder |
getIssuesAsString(org.eclipse.emf.ecore.resource.Resource resource,
java.lang.Iterable<Issue> issues,
java.lang.StringBuilder result) |
protected java.lang.Iterable<Issue> |
matchIssues(org.eclipse.emf.ecore.EObject model,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
int offset,
int length,
Severity severity,
java.util.List<Issue> validate,
java.lang.String... messageParts) |
protected java.lang.Iterable<Issue> |
matchIssues(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.EClass objectType,
java.lang.String code,
int offset,
int length,
Severity severity,
java.util.List<Issue> validate,
java.lang.String... messageParts) |
java.util.List<Issue> |
validate(org.eclipse.emf.ecore.EObject model) |
java.util.List<Issue> |
validate(org.eclipse.emf.ecore.resource.Resource resource) |
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 assertNoErrors(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, java.lang.String... messageParts)
public void assertNoErrors(org.eclipse.emf.ecore.EObject model, java.lang.String code)
public void assertNoIssues(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EClass objectType)
public void assertNoIssue(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EClass objectType, java.lang.String issueCode)
public void assertError(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, int offset, int length, java.lang.String... messageParts)
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 assertIssue(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EClass objectType, java.lang.String issueCode, int offset, int length, Severity severity, java.lang.String... messageParts)
public void assertNoIssues(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, Severity severity, java.lang.String... messageParts)
public void assertNoIssues(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EClass objectType, java.lang.String issueCode, int offset, int length, 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)
public void assertNoWarnings(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, java.lang.String... messageParts)
public void assertWarning(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, int offset, int length, java.lang.String... messageParts)
public java.util.List<Issue> validate(org.eclipse.emf.ecore.resource.Resource resource)
public void assertNoIssues(org.eclipse.emf.ecore.resource.Resource resource)
public void assertNoErrors(org.eclipse.emf.ecore.resource.Resource resource)
public void assertNoError(org.eclipse.emf.ecore.resource.Resource resource, java.lang.String issuecode)
public void assertNoErrors(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, java.lang.String... messageParts)
public void assertNoErrors(org.eclipse.emf.ecore.resource.Resource resource, java.lang.String code)
public void assertNoIssues(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.ecore.EClass objectType)
public void assertNoIssue(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.ecore.EClass objectType, java.lang.String issuecode)
public void assertError(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, int offset, int length, java.lang.String... messageParts)
public void assertError(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, java.lang.String... messageParts)
public void assertIssue(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, Severity severity, java.lang.String... messageParts)
public void assertIssue(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, int offset, int length, Severity severity, java.lang.String... messageParts)
public void assertNoIssues(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, Severity severity, java.lang.String... messageParts)
public void assertNoIssues(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, int offset, int length, Severity severity, java.lang.String... messageParts)
public void assertWarning(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, java.lang.String... messageParts)
public void assertNoWarnings(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, java.lang.String... messageParts)
public void assertWarning(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, int offset, int length, java.lang.String... messageParts)
protected java.lang.Iterable<Issue> matchIssues(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, int offset, int length, Severity severity, java.util.List<Issue> validate, java.lang.String... messageParts)
protected java.lang.Iterable<Issue> matchIssues(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, int offset, int length, Severity severity, java.util.List<Issue> validate, java.lang.String... messageParts)
protected java.lang.Iterable<Issue> doMatchIssues(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.ecore.EClass objectType, java.lang.String code, int offset, int length, Severity severity, java.util.List<Issue> validate, java.lang.String... messageParts)
protected java.lang.StringBuilder getIssuesAsString(org.eclipse.emf.ecore.EObject model, java.lang.Iterable<Issue> issues, java.lang.StringBuilder result)
protected java.lang.StringBuilder getIssuesAsString(org.eclipse.emf.ecore.resource.Resource resource, java.lang.Iterable<Issue> issues, java.lang.StringBuilder result)
protected java.lang.StringBuilder doGetIssuesAsString(org.eclipse.emf.ecore.resource.Resource resource, java.lang.Iterable<Issue> issues, java.lang.StringBuilder result)