Skip to content

Commit 45a17c9

Browse files
vogellaclaude
andcommitted
Fix JUnit 5 migration in org.eclipse.ui.tests.pluginchecks
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 <[email protected]>
1 parent 7331dcc commit 45a17c9

File tree

1 file changed

+3
-1
lines changed
  • tests/org.eclipse.ui.tests.pluginchecks/META-INF

1 file changed

+3
-1
lines changed

tests/org.eclipse.ui.tests.pluginchecks/META-INF/MANIFEST.MF

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@ Bundle-ActivationPolicy: lazy
2929
Bundle-Vendor: Eclipse.org
3030
Import-Package: org.eclipse.ui.internal,
3131
org.junit.jupiter.api;version="[5.14.0,6.0.0)",
32-
org.junit.jupiter.api.function;version="[5.14.0,6.0.0)"
32+
org.junit.jupiter.api.function;version="[5.14.0,6.0.0)",
33+
org.junit.platform.commons.function;version="[1.14.0,2.0.0)",
34+
org.junit.platform.suite.api;version="[1.14.0,2.0.0)"

0 commit comments

Comments
 (0)