Skip to content

Pr 2035#2038

Closed
merks wants to merge 11 commits intoeclipse-pde:masterfrom
merks:pr-2035
Closed

Pr 2035#2038
merks wants to merge 11 commits intoeclipse-pde:masterfrom
merks:pr-2035

Conversation

@merks
Copy link
Contributor

@merks merks commented Oct 22, 2025

No description provided.

trancexpress and others added 11 commits October 21, 2025 16:01
This change adjusts JUnitLaunchConfigurationDelegate,
to use bundle versions when adding required JUnit bundles.

E.g. when adding JUnit bundles for a JUnit 5 test, JUnit 5 versions are added.

This avoids conflicts when both JUnit 5 and JUnit 6 bundles are in the platform,
since they share symbolic names.

Fixes: eclipse-pde#2006
- Move code a bit around, trying to simplify it a bit
- Implement version handling when looking up dependencies in host
- Avoid unnecessary code
- Add TODOs
- The JUNIT5_VERSIONS VersionRange should be [1, 6) because [1, 5)
excludes Junit 5.
- The case for TestKindRegistry.JUNIT5_TEST_KIND_ID should add
JUNIT5_JDT_RUNTIME_PLUGIN not JUNIT4_JDT_RUNTIME_PLUGIN.
- The search range `new VersionRange(VersionRange.LEFT_OPEN, version,
version, VersionRange.RIGHT_OPEN))` is always empty so should use `new
VersionRange(VersionRange.LEFT_CLOSED, version, version,
VersionRange.RIGHT_CLOSED))`.
@github-actions
Copy link

Test Results

   771 files  ±0     771 suites  ±0   1h 13m 33s ⏱️ + 3m 17s
 3 609 tests ±0   3 557 ✅ ±0   52 💤 ±0  0 ❌ ±0 
10 827 runs  ±0  10 670 ✅ ±0  157 💤 ±0  0 ❌ ±0 

Results for commit c149bc8. ± Comparison against base commit 9851080.

@HannesWell
Copy link
Member

Now that #2013 is finally submitted, I think we can close this.
Thank you Ed for your help!

@HannesWell HannesWell closed this Oct 23, 2025
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.

4 participants