Skip to content

Commit 9f7c60d

Browse files
committed
Migrate leftover JUnit-4 assertions to JUnit-5
1 parent 6cf4f9b commit 9f7c60d

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

e4tools/tests/org.eclipse.e4.tools.compatibility.migration.tests/META-INF/MANIFEST.MF

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Require-Bundle: org.eclipse.swt;bundle-version="[3.110.0,4.0.0)",
1010
org.eclipse.ui.workbench;bundle-version="[3.100.0,4.0.0)",
1111
org.eclipse.e4.tools.compatibility.migration;bundle-version="[1.0.0,2.0.0)",
1212
org.eclipse.e4.ui.model.workbench;bundle-version="[2.1.0,3.0.0)",
13-
org.junit;bundle-version="[4.12.0,5.0.0)",
1413
org.eclipse.core.runtime;bundle-version="[3.29.0,4.0.0)",
1514
org.eclipse.ui.tests.harness;bundle-version="[1.8.100,2.0.0)"
1615
Bundle-ActivationPolicy: lazy

e4tools/tests/org.eclipse.e4.tools.compatibility.migration.tests/src/org/eclipse/e4/tools/compatibility/migration/tests/E4MigrationToolTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
******************************************************************************/
1414
package org.eclipse.e4.tools.compatibility.migration.tests;
1515

16-
import static org.junit.Assert.assertEquals;
17-
import static org.junit.Assert.fail;
16+
17+
import static org.junit.jupiter.api.Assertions.assertEquals;
18+
import static org.junit.jupiter.api.Assertions.fail;
1819

1920
import java.io.BufferedReader;
2021
import java.io.FileInputStream;

e4tools/tests/org.eclipse.e4.tools.persistence.tests/META-INF/MANIFEST.MF

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Automatic-Module-Name: org.eclipse.e4.tools.persistence.tests
88
Bundle-RequiredExecutionEnvironment: JavaSE-17
99
Require-Bundle: org.eclipse.core.runtime;bundle-version="3.29.0",
1010
org.eclipse.ui;bundle-version="3.201.0",
11-
org.junit;bundle-version="4.13.2",
1211
org.eclipse.swt,
1312
org.eclipse.ui.tests.harness,
1413
org.eclipse.e4.tools.persistence,

e4tools/tests/org.eclipse.e4.tools.persistence.tests/src/org/eclipse/e4/tools/persistence/tests/PerspectivePersisterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package org.eclipse.e4.tools.persistence.tests;
22

3-
import static org.junit.Assert.assertTrue;
3+
import static org.junit.jupiter.api.Assertions.assertTrue;
44

55
import java.nio.file.Paths;
66
import java.util.concurrent.CompletableFuture;

0 commit comments

Comments
 (0)