Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 185168

Summary: [JUnit] Junit View launch actions missing for Inner class suites
Product: [Eclipse Project] JDT Reporter: Andrew Ferguson <andrew.ferguson>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard: stalebug
Attachments:
Description Flags
example project none

Description Andrew Ferguson CLA 2007-05-02 12:34:21 EDT
hi,

 if you have unit tests which are inner classes, then some JUnit View actions
are missing

Specifically, if the inner class unit test is wrapped as a suite, then the 'run suite' option in the context menu on the suite element does not appear. This is the same for the debug action.

thanks,
Andrew
Comment 1 Andrew Ferguson CLA 2007-05-02 12:35:26 EDT
Created attachment 65631 [details]
example project

attached bare-bones example of this in action. To reproduce the problem

(1) Launch MySuite unit test suite
(2) Right-click on "com.acme.test.UnitTestWithInner$Inner1" - note there is no
"Run" or "Debug" action
Comment 2 Andrew Ferguson CLA 2007-05-02 12:36:30 EDT
The launch actions are missing in the I20070502-0010 build
Comment 3 Martin Aeschlimann CLA 2007-05-16 09:37:13 EDT
Actions are only missing in the context menu of the JUnit view. Minor, not for 3.3.
Comment 4 Eclipse Genie CLA 2019-09-10 18:45:11 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.