Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incorrect code lens #90

Closed
gorkem opened this issue Jan 10, 2018 · 2 comments · Fixed by #92
Closed

incorrect code lens #90

gorkem opened this issue Jan 10, 2018 · 2 comments · Fixed by #92
Assignees
Labels

Comments

@gorkem
Copy link

gorkem commented Jan 10, 2018

The code lenses for testing are not removed when the @Test annotation is removed from a test method.

image

@ansyral ansyral added the bug label Jan 11, 2018
@ansyral ansyral self-assigned this Jan 11, 2018
@ansyral
Copy link
Collaborator

ansyral commented Jan 11, 2018

After some investigation, it seems to be a bug of JDT. When removing the annotation@Test, IAnnotatable.getAnnotation("Test") would still exist while IAnnotatable.getAnnotations() is empty. will make a workaround for it first.

@gorkem
Copy link
Author

gorkem commented Jan 12, 2018

@ansyral Is this already reported on JDT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants