Skip to content

Centralize code used in two places to compute JUnit requirements#2044

Merged
laeubi merged 1 commit intoeclipse-pde:masterfrom
laeubi:extract_into_shared_class
Oct 23, 2025
Merged

Centralize code used in two places to compute JUnit requirements#2044
laeubi merged 1 commit intoeclipse-pde:masterfrom
laeubi:extract_into_shared_class

Conversation

@laeubi
Copy link
Contributor

@laeubi laeubi commented Oct 23, 2025

Currently we have almost identical code in JUnitLaunchConfigurationDelegate and JUnitPluginLaunchConfigurationDelegate to compute the JUnit requirements.

This now extract the code into a central place JUnitLaunchRequirements for consistency and maintenance.

This is NOT modify anything, it just uses the code as-is to prepare for

so we can get an actual diff of what this PR changes!

So after this is merged, the PR can be rebased and the content of the file ui/org.eclipse.pde.launching/src/org/eclipse/pde/internal/launching/JUnitLaunchRequirements.java is simply replaced and should then result in a usable diff of actual changes.

@laeubi laeubi force-pushed the extract_into_shared_class branch 4 times, most recently from f748967 to e2b145f Compare October 23, 2025 09:33
Currently we have almost identical code in
JUnitLaunchConfigurationDelegate and
JUnitPluginLaunchConfigurationDelegate to compute the JUnit
requirements.

This now extract the code into a central place JUnitLaunchRequirements
for consistency and maintenance.

Co-authored-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
@laeubi laeubi force-pushed the extract_into_shared_class branch from e2b145f to 9050251 Compare October 23, 2025 10:05
@github-actions
Copy link

Test Results

   771 files  +  148     771 suites  +148   1h 15m 24s ⏱️ + 10m 49s
 3 609 tests ±    0   3 557 ✅ +    1   52 💤 ± 0  0 ❌  - 1 
10 827 runs  +2 650  10 670 ✅ +2 627  157 💤 +24  0 ❌  - 1 

Results for commit 9050251. ± Comparison against base commit 5f0997f.

@laeubi laeubi merged commit f588de6 into eclipse-pde:master Oct 23, 2025
19 checks passed
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.

1 participant