Skip to content

Reduce javax E4-Injector tests to the minimum and add Singleton test#2654

Merged
HannesWell merged 1 commit intoeclipse-platform:masterfrom
HannesWell:minimize-javax-injector-tests
May 6, 2026
Merged

Reduce javax E4-Injector tests to the minimum and add Singleton test#2654
HannesWell merged 1 commit intoeclipse-platform:masterfrom
HannesWell:minimize-javax-injector-tests

Conversation

@HannesWell
Copy link
Copy Markdown
Member

Reduce javax E4-Injector tests to the minimum as suggested in

I kept the separate o.e.e4.core.javax.tests project in order to keep dependency separation ensured.
In general it should also work to move the remaining tests into o.e.e4.core.tests but I worry a bit that then some issues maybe could went unnoticed (although I cannot think of one explicitly).

Additionally this adds a Singleton test, which didn't exist before (for jakarta and javax annotations).

@HannesWell HannesWell requested a review from HeikoKlare May 5, 2026 17:31
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

Test Results

    51 files   -   3      51 suites   - 3   36m 15s ⏱️ +9s
 4 666 tests +  1   4 643 ✅ ±  0   22 💤 ±0  0 ❌ ±0  1 🔥 +1 
11 738 runs   - 697  11 584 ✅  - 695  153 💤  - 3  0 ❌ ±0  1 🔥 +1 

For more details on these errors, see this check.

Results for commit 0b7d3c7. ± Comparison against base commit b1b8226.

♻️ This comment has been updated with latest results.

Copy link
Copy Markdown
Contributor

@HeikoKlare HeikoKlare left a comment

Choose a reason for hiding this comment

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

This seems to be a reasonable reduction of the tests. Thank you! I only have a nit comment on an obsolete word in the readme.

Comment thread runtime/tests/org.eclipse.e4.core.javax.tests/README.md Outdated
@HannesWell HannesWell force-pushed the minimize-javax-injector-tests branch from 8c9cd54 to 0b7d3c7 Compare May 6, 2026 08:01
@HannesWell
Copy link
Copy Markdown
Member Author

Great, thank you.

The test failure is unrelated, submitting.

@HannesWell HannesWell merged commit 77bec00 into eclipse-platform:master May 6, 2026
16 of 18 checks passed
@HannesWell HannesWell deleted the minimize-javax-injector-tests branch May 6, 2026 18:26
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