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

Bug 421448

Summary: cannot open test in inner class from build editor
Product: z_Archived Reporter: Marcus Bauer <mabako>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: CLOSED MOVED QA Contact:
Severity: minor    
Priority: P2 Keywords: helpwanted
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Marcus Bauer CLA 2013-11-11 09:23:30 EST
Hey,

we're using Ant on a Jenkins instance to run our Unit Tests, which automatically executes tests in inner classes as well.

From the builds view, opening a build with double-click opens a window containing the inner classes like package.Foo$Bar. When trying to open these, it says "Failed to locate test in workspace".

If I click on "Show Test Result in JUnit view", it shows "package.Foo.Bar" as class name. When clicking it in the JUnit view, it finds the related class.
Comment 1 Leo Dos Santos CLA 2014-01-08 17:20:42 EST
We'll investigate the issue and consider it for the 1.4 release.
Comment 2 Sam Davis CLA 2014-04-25 13:36:54 EDT
Opening the test from the JUnit view is a good workaround.
Comment 3 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn