You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing on windows, unit tests in org.eclipse.emfcloud.modelserver.emf.tests fail. (on master branch, commit 4d383b9 )
Some are due to #63 , but there are other causes, most probably specific to the windows OS.
The following tests fail due to a difference in whitespaces characters (mainly "\n" vs "\r\n" line breaks) :
org.eclipse.emfcloud.modelserver.emf.EMFJsonConverterTest.testToJsonCoffeeJson()
I suggest calling org.junit.platform.commons.util.StringUtils.replaceWhitespaceCharacters(String, String) when comparing strings to avoid this issue.
Some other tests fail with "java.lang.IllegalArgumentException: resolve against non-hierarchical or relative base". This is the case of :
org.eclipse.emfcloud.modelserver.emf.common.ModelControllerTest.addCommandNotification()
We'll have to investigate more, but my first guess would be a difference of separator in constructed URIs.
Finally, these tests fail (directly or indirectly) due to differences in built URIs (difference of separator) :
org.eclipse.emfcloud.modelserver.emf.configuration.ServerConfigurationTest.getWorkspaceEntries()
And also probably (but must be confirmed by investigation) :
Thank you very much for bringing this to our attention! we were not aware of the OS-dependent test failures and will look at this in more detail when we are working on the overall test story (#62 , #63).
When executing on windows, unit tests in org.eclipse.emfcloud.modelserver.emf.tests fail. (on master branch, commit 4d383b9 )
Some are due to #63 , but there are other causes, most probably specific to the windows OS.
The following tests fail due to a difference in whitespaces characters (mainly "\n" vs "\r\n" line breaks) :
I suggest calling org.junit.platform.commons.util.StringUtils.replaceWhitespaceCharacters(String, String) when comparing strings to avoid this issue.
Some other tests fail with "java.lang.IllegalArgumentException: resolve against non-hierarchical or relative base". This is the case of :
We'll have to investigate more, but my first guess would be a difference of separator in constructed URIs.
Finally, these tests fail (directly or indirectly) due to differences in built URIs (difference of separator) :
And also probably (but must be confirmed by investigation) :
The text was updated successfully, but these errors were encountered: