Migrate PluginWalkerTest from JUnit 4 to JUnit 5 in#3425
Merged
Conversation
Contributor
|
This pull request changes some projects for the first time in this development cycle. An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch. Git patchFurther information are available in Common Build Issues - Missing version increments. |
Contributor
b168a50 to
51c9827
Compare
org.eclipse.ui.tests.pluginchecks
51c9827 to
e43185b
Compare
Add missing JUnit platform imports to MANIFEST.MF that are required for JUnit 5 test execution. Without these imports, the test framework fails with: java.util.ServiceConfigurationError: org.junit.platform.engine.TestEngine: org.junit.jupiter.engine.JupiterTestEngine not a subtype Added imports: - org.junit.platform.commons.function;version="[1.14.0,2.0.0)" - org.junit.platform.suite.api;version="[1.14.0,2.0.0)" These are standard imports required by all JUnit 5 test bundles in the platform.ui repository. Verified by comparing with other successfully migrated test bundles like org.eclipse.jface.tests. All 3 tests now pass: - validateAccessToBundle - ensurePluginxmlContainsAtLeastOneEntry - ensureExtensionPointClassesAreAccessable 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
org.eclipse.ui.tests.pluginchecks