1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 14:55:41 +02:00

Add JUnit5 dependencies

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
This commit is contained in:
Jonah Graham 2022-10-28 08:19:41 -04:00
parent 5cebec6477
commit 75e52e4682
3 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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

View file

@ -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"