Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating OpenCloseTest to JUnit5 #2619

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
*******************************************************************************/
package org.eclipse.ui.tests.stress;

import static org.junit.Assert.assertNotNull;

import static org.junit.jupiter.api.Assertions.assertNotNull;

import java.util.HashMap;

Expand Down Expand Up @@ -41,8 +42,8 @@
import org.eclipse.ui.intro.IIntroPart;
import org.eclipse.ui.part.FileEditorInput;
import org.eclipse.ui.tests.harness.util.FileUtil;
import org.junit.Before;
import org.junit.Test;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

/**
* Test opening and closing of items.
Expand All @@ -57,7 +58,7 @@ public class OpenCloseTest {
private IWorkbenchPage page;


@Before
@BeforeEach
public void setup() {
workbench = PlatformUI.getWorkbench();
workbenchWindow = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
Expand Down
5 changes: 3 additions & 2 deletions tests/org.eclipse.ui.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Bundle-Vendor: Eclipse.org
Require-Bundle: org.eclipse.core.resources;bundle-version="3.14.0",
org.eclipse.core.expressions;bundle-version="3.7.0",
org.eclipse.ui,
org.junit,
org.eclipse.ui.ide,
org.eclipse.ui.editors,
org.eclipse.ui.workbench.texteditor,
Expand Down Expand Up @@ -43,9 +42,11 @@ Require-Bundle: org.eclipse.core.resources;bundle-version="3.14.0",
org.eclipse.ui.navigator;bundle-version="3.12.100",
org.eclipse.search,
org.eclipse.debug.ui,
org.eclipse.emf.ecore
org.eclipse.emf.ecore,
org.junit;bundle-version="4.13.2"
Import-Package: jakarta.annotation,
jakarta.inject,
org.junit.jupiter.api;version="[5.11.0,6.0.0)",
org.osgi.service.event
Eclipse-AutoStart: true
Export-Package: org.eclipse.ui.tests.api,
Expand Down
Loading