use of org.eclipse.xtext.ide.serializer.debug.TextDocumentChangeToString in project xtext-core by eclipse.
the class ChangeSerializerTestHelper method operator_tripleEquals.
public void operator_tripleEquals(Collection<IEmfResourceChange> actual, CharSequence expected) {
String actualString = new TextDocumentChangeToString().add(actual).toString();
Assert.assertEquals(Strings.toPlatformLineSeparator(expected).trim(), Strings.toPlatformLineSeparator(actualString).trim());
}
use of org.eclipse.xtext.ide.serializer.debug.TextDocumentChangeToString in project xtext-core by eclipse.
the class ImportTestHelper method operator_tripleEquals.
public void operator_tripleEquals(Collection<IEmfResourceChange> actual, CharSequence expected) {
String actualString = new TextDocumentChangeToString().add(actual).toString();
Assert.assertEquals(Strings.toPlatformLineSeparator(expected).trim(), Strings.toPlatformLineSeparator(actualString).trim());
}
Aggregations