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

Bug 241804

Summary: Open Source Code context menu enabled for non-JUnit test types.
Product: z_Archived Reporter: Paul Slauenwhite <paulslau>
Component: TPTPAssignee: Paul Slauenwhite <paulslau>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: jerome.bozier, paulslau
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 195203    
Attachments:
Description Flags
Patch. none

Description Paul Slauenwhite CLA 2008-07-23 08:14:56 EDT
Open Source Code context menu enabled for non-JUnit test types.

Expanding a non-JUnit test (e.g. manual test) in the Test Navigator and opening the context menu on one of the test cases exposes the Open Source Code context menu.  However, when the user selects this context menu, there is no action.  This menu is invalid and should be disabled for non-JUnit test types.
Comment 1 Paul Slauenwhite CLA 2008-07-23 09:28:58 EDT
Created attachment 108192 [details]
Patch.

Solution requires defining a proxy node for JUnit test cases (/org.eclipse.hyades.test.tools.ui/src/org/eclipse/hyades/test/tools/ui/java/internal/junit/navigator/JUnitTestCaseProxyNode.java).
Comment 2 Paul Slauenwhite CLA 2008-07-23 09:29:41 EDT
Hour worked to create and test the patch.

Patch checked in to CVS (HEAD).
Comment 3 Paul Slauenwhite CLA 2008-07-30 10:15:13 EDT
Verified using TPTP-4.5.1-200807281110.

Closing.