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

Support find test location from full name #1249

Merged
merged 1 commit into from
Aug 2, 2021
Merged

Conversation

jdneo
Copy link
Member

@jdneo jdneo commented Aug 2, 2021

No description provided.

if (project != null) {
result[0] = internalFindType(project, dottedName, new HashSet<IJavaProject>(), monitor);
}
if (result[0] == null) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this branch is never visisted, as project is not null when you call findType.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's because internalFindType() might return null. In that case, use the search engine as a fallback

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it

@jdneo jdneo merged commit 175934d into cs/1.0.0-feature Aug 2, 2021
@jdneo jdneo deleted the cs/test-runner branch August 2, 2021 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants