Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364650 - Keyboard shortcut for Run As Test does not work in eclipse
Summary: Keyboard shortcut for Run As Test does not work in eclipse
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: M4   Edit
Assignee: Moritz Eysholdt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-23 15:48 EST by Steve Ash CLA
Modified: 2017-09-19 17:51 EDT (History)
1 user (show)

See Also:
sebastian.zarnekow: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Ash CLA 2011-11-23 15:48:06 EST
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
Comment 1 Moritz Eysholdt CLA 2011-12-01 11:01:19 EST
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
Comment 2 Karsten Thoms CLA 2017-09-19 17:39:51 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:51:07 EDT
Closing all bugs that were set to RESOLVED before Neon.0