Skip to content

fix: identify naming in junit#1847

Merged
wenytang-ms merged 2 commits intomainfrom
wenyt/fixd
Mar 6, 2026
Merged

fix: identify naming in junit#1847
wenytang-ms merged 2 commits intomainfrom
wenyt/fixd

Conversation

@wenytang-ms
Copy link
Contributor

@wenytang-ms wenytang-ms commented Mar 6, 2026

fix #1835

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes test discovery in multi-source-set Gradle projects where multiple package nodes share the same Test Explorer ID (e.g., identical package names across test/intTest/manualTest) by merging those package nodes before returning results to the client.

Changes:

  • Merge TestLevel.PACKAGE items that share the same JavaTestItem.id and combine their children.
  • Preserve insertion order while merging by using a LinkedHashMap.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@wenytang-ms
Copy link
Contributor Author

before:
image

after:
image

@wenytang-ms wenytang-ms merged commit 02532d3 into main Mar 6, 2026
8 checks passed
@wenytang-ms wenytang-ms deleted the wenyt/fixd branch March 6, 2026 01:59
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.

Gradle and VS Code - Test Explorer panel Issue

3 participants