| Summary: | JUnit View: can't open source for test classes in fragments | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Olaf Titz <olaf.titz> | ||||
| Component: | UI | Assignee: | Markus Keller <markus.kell.r> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | darin.eclipse, markus.kell.r | ||||
| Version: | 3.5.1 | ||||||
| Target Milestone: | 3.7 M1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Olaf Titz
Moving to JDT. Created attachment 171845 [details]
3 plug-in projects to reproduce
To reproduce, run FragTest and then try to open "frag.Frag.run" from the JUnit view.
Fixed in OpenEditorAction. The fix is not perfect: It just falls back to searching the type in the workspace if not found in the project, so it could open a wrong one if there are multiple declarations of the same type. A more elaborate strategy could be considered when bug 72847 gets fixed. |