thomas-fritsch / psdt

PostScript Development Tools for Eclipse
http://thomas-fritsch.github.io/psdt/
GNU General Public License v3.0
7 stars 0 forks source link

Some UI tests failing in Maven build #5

Closed thomas-fritsch closed 8 years ago

thomas-fritsch commented 8 years ago

Some UI tests (all test cases in AutoEditTest, OutlineTreeProviderTest, EditorActionTest) are faiing in Maven/Tycho build.
For example:

java.lang.AssertionError: Opened Editor with id:de.tfritsch.psdt.Postscript, is not an XtextEditor
    at org.junit.Assert.fail(Assert.java:88)
    at org.eclipse.xtext.junit4.ui.AbstractEditorTest.openEditor(AbstractEditorTest.java:48)
    at org.eclipse.xtext.junit4.ui.AbstractAutoEditTest.openEditor(AbstractAutoEditTest.java:57)
    at de.tfritsch.psdt.tests.AutoEditTest.testAngleBrackets(AutoEditTest.java:54)

However, these tests run fine when started from Eclipse IDE (Run as -> JUnit Plug-in Test).

thomas-fritsch commented 8 years ago

Temporary work-around:
Disabled these 3 test-classes in de.tfritsch.psdt.tests/pom.xml