Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[xtext-dev] removed dependency on EMF Compare

Hi all,

we had a dependency on EMF Compare in org.eclipse.xtext.generator.tests: Some tests were using it to compare models. I've refactored the code so that the comparison is done with the help of the EmfFormatter: Both models are serialized and the textual representations are compared. Compared to EMF Compare, this is different in two ways: - it is a little more strict, since now the order of lists is taken into account as well. However, all tests stayed green. - if models are not equal, Eclipse' JUnit support can prettily highlight the changes in the textual representation. The old implementation relied on console output.

@Patrick, Dennis, Peter: Could one of you remove EMF Compare from the list of dependencies within the build process?

thanks...

regards,
 Moritz


Back to the top