Skip to content

Commit

Permalink
Add JUnit5 dependencies
Browse files Browse the repository at this point in the history
While it may be that the tests don't directly rely
on JUnit5, the IDE requires JUnit5 in the classpath
or else the launch config doesn't work with this error:

Cannot find class 'org.junit.platform.commons.annotation.Testable'
on project build path.

Part of #117
  • Loading branch information
jonahgraham committed Nov 7, 2022
1 parent 5cebec6 commit 75e52e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/org.eclipse.cdt.make.core.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Require-Bundle: org.eclipse.core.runtime,
Bundle-ActivationPolicy: lazy
Bundle-Vendor: %providerName
Bundle-RequiredExecutionEnvironment: JavaSE-17
Import-Package: org.eclipse.core.filesystem
Import-Package: org.eclipse.core.filesystem,
org.junit.jupiter.api;version="5.9.0"
Automatic-Module-Name: org.eclipse.cdt.make.core.tests
Bundle-Localization: plugin
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ Export-Package: org.eclipse.cdt.codan.core.cfg,
org.eclipse.cdt.codan.core.internal.checkers,
org.eclipse.cdt.codan.core.param,
org.eclipse.cdt.codan.core.tests
Import-Package: org.junit.jupiter.api;version="5.9.0"
Automatic-Module-Name: org.eclipse.cdt.codan.core.tests
1 change: 1 addition & 0 deletions core/org.eclipse.cdt.ui.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ Bundle-ActivationPolicy: lazy
Bundle-Vendor: %providerName
Bundle-RequiredExecutionEnvironment: JavaSE-17
Automatic-Module-Name: org.eclipse.cdt.ui.tests
Import-Package: org.junit.jupiter.api;version="5.9.0"

0 comments on commit 75e52e4

Please sign in to comment.