Open trancexpress opened 5 years ago
Looks like xpect 0.1.0
uses org.xpect.ui.junit.OpenFileAction
, which is "registered" when org.xpect.ui.junit.XpectRunnerUIHandler.contextMenuAboutToShow(ViewPart, ITestElement, IMenuManager)
is called. I don't find XpectRunnerUIHandler
in the xpect 0.2.0
bundles. I do find OpenFileAction
in org.eclipse.xpect.ui.junit
. However its only used when calling the "Go to XPECT method" menu entry. It doesn't seem to be associated with the "Go to File" entry, which is called on double click.
Created JDT bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=546882
I'm looking into this now.
This seems to be the original JDT ticket created by Moritz Eysholdt:
With
xpect 0.1.0
it was possible to double click on aXPECT
entry in theJUnit
view. This would then open the DSL test file and select the respectiveXPECT
statement.With
xpect 0.2.0
double clicking on anXPECT
entry results in a dialog "Method ... not found. Opening test class". Its still possible to right-click on the entry and choose "Go to XPECT method", however this involves more user interaction.