Community
Participate
Working Groups
Build Identifier: M20110909-1335 I downloaded the xtend2 distribution from intuit and within eclipse if I execute alt+shift+x t it pops up a message indicating the no test case exists. If I right click in the file and select run as -> JUnit test then it executes the test fine. Note that the shortcut displayed in the popup menu when I right-click and view "run as" options in the xtend file is still alt+shift+x t Note also that if I use the shortcut in the generated java file, then it executes the test case fine. Reproducible: Always Steps to Reproduce: 1. Open xtend class source file from tutorial: Xtend10_CreateFunctions which extends TestCase 2. With the caret in the editor hit alt+shift+X T
Now the following shortcuts are working for Xtend files. The key bindings I'm listing are for OS X, they may be different on other platforms. They are expected to be the same as in JDT. ALT+CMD+X J -> Run Java Application CTRL+ALT+CMD+D J -> Debug Java Application ALT+CMD+X T -> Run JUnit Test CTRL+ALT+CMD+D T -> Debug JUnit Test ALT+CMD+X P -> Run JUnit Plug-In Test CTRL+ALT+CMD+D P -> Debug JUnit Plug-In Test Two related issues are still open: bug 365317: [Xtend] JUnit: allow to run individual test methods bug 218881 - [JDT] Launch using shortcut key Alt+Shift+X doesn't work until launch actions are loaded
Closing all bugs that were set to RESOLVED before Neon.0