diff --git a/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/packageview/PackageExplorerShowInTests.java b/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/packageview/PackageExplorerShowInTests.java index 7013b3e44ad..c6083380758 100644 --- a/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/packageview/PackageExplorerShowInTests.java +++ b/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/packageview/PackageExplorerShowInTests.java @@ -14,14 +14,14 @@ package org.eclipse.jdt.ui.tests.packageview; -import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.Assert.assertEquals; import java.io.ByteArrayInputStream; import org.junit.Rule; -import org.junit.jupiter.api.AfterEach; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; +import org.junit.After; +import org.junit.Before; +import org.junit.Test; import org.eclipse.jdt.testplugin.JavaProjectHelper; @@ -59,7 +59,7 @@ public class PackageExplorerShowInTests { private PackageExplorerPart fPackageExplorer; private IWorkbenchPage fPage; - @BeforeEach + @Before public void setUp() throws Exception { fJProject= pts.getProject(); fPage= PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); @@ -67,7 +67,7 @@ public void setUp() throws Exception { fPackageExplorer.selectAndReveal(new StructuredSelection()); } - @AfterEach + @After public void tearDown() throws Exception { JavaProjectHelper.clear(fJProject, pts.getDefaultClasspath()); fPage.hideView(fPackageExplorer);