Skip to content

Migrate org.eclipse.e4.core.tests to JUnit 5 (javax + jakarta variant) #1858

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

Merged
merged 1 commit into from
May 9, 2025

Conversation

ptziegler
Copy link
Contributor

No description provided.

Copy link
Contributor

github-actions bot commented May 5, 2025

Test Results

 1 764 files  +  6   1 764 suites  +6   1h 29m 12s ⏱️ + 3m 35s
 4 381 tests +208   4 357 ✅ +207   24 💤 +1  0 ❌ ±0 
13 143 runs  + 24  12 976 ✅ + 24  167 💤 ±0  0 ❌ ±0 

Results for commit 3aaa3cf. ± Comparison against base commit 02ffafb.

This pull request removes 210 and adds 418 tests. Note that renamed tests count towards both.
CoreTestSuite org.eclipse.e4.core.internal.tests.about.AboutTest ‑ testAppendInstalledBundles
CoreTestSuite org.eclipse.e4.core.internal.tests.about.AboutTest ‑ testAppendInstalledFeatures
CoreTestSuite org.eclipse.e4.core.internal.tests.about.AboutTest ‑ testAppendUserPreferences
CoreTestSuite org.eclipse.e4.core.internal.tests.about.AboutTest ‑ testCreateSectionFilter
CoreTestSuite org.eclipse.e4.core.internal.tests.about.AboutTest ‑ testMaskPassword
CoreTestSuite org.eclipse.e4.core.internal.tests.about.AboutTest ‑ testMultilineValue
CoreTestSuite org.eclipse.e4.core.internal.tests.about.AboutTest ‑ testSystemEnvironmentVariables
CoreTestSuite org.eclipse.e4.core.internal.tests.about.AboutTest ‑ testSystemProperties
CoreTestSuite org.eclipse.e4.core.internal.tests.about.InstalledFeaturesTest ‑ testInstalledFeatures
CoreTestSuite org.eclipse.e4.core.internal.tests.contexts.ActivationTest ‑ testContextActivation
…
CoreTestSuite (javax) ActivationInjectionTest ‑ testActivationInjection
CoreTestSuite (javax) ActivationInjectionTest ‑ testContextActivation
CoreTestSuite (javax) ActivationInjectionTest ‑ testInjection
CoreTestSuite (javax) ActivationTest ‑ testContextActivation
CoreTestSuite (javax) ActivationTest ‑ testGetActive
CoreTestSuite (javax) ActivationTest ‑ testGetActiveBug384425
CoreTestSuite (javax) ActivationTest ‑ testGetActiveRAT
CoreTestSuite (javax) ActivationTest ‑ testGetActiveRATNumberOfCalls
CoreTestSuite (javax) ActivationTest ‑ testGetActiveRATNumberOfCalls2
CoreTestSuite (javax) AnnotationsInjectionTest ‑ testContextSetOneArg
…
This pull request removes 1 skipped test and adds 2 skipped tests. Note that renamed tests count towards both.
CoreTestSuite org.eclipse.e4.core.internal.tests.di.extensions.ServiceSupplierTestCase ‑ testUselessUpdates
CoreTestSuite (javax) ServiceSupplierTestCase ‑ testUselessUpdates
CoreTestSuite ServiceSupplierTestCase ‑ testUselessUpdates

♻️ This comment has been updated with latest results.

@ptziegler
Copy link
Contributor Author

Both test suites have 418 test in total, but the test suites now have different names. Partially because of Junit 5 and partially because I gave the javax variant a dedicated name, to avoid any further confusion.

@ptziegler
Copy link
Contributor Author

Everything looks good now. Unless there are any objections, I plan on merging later today.

@merks
Copy link
Contributor

merks commented May 7, 2025

Sounds great!!

Copy link
Member

@HannesWell HannesWell left a comment

Choose a reason for hiding this comment

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

Thank you for working on this.
In general this looks good to me, I just have two minor remarks.

- Add ContextPerformanceTest to test suite
- Remove location markers
Copy link
Member

@HannesWell HannesWell left a comment

Choose a reason for hiding this comment

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

Thank you for the updates.
The changes look good to me, although I have not reviewed each and every detail, but since all tests pass and the number of tests has even increased (in total), I think this is fine.

@vogella
Copy link
Contributor

vogella commented May 9, 2025

LGTM Thanks @ptziegler

@vogella vogella merged commit 26837e9 into eclipse-platform:master May 9, 2025
18 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.

4 participants