Skip to content
Open
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 @@ -71,7 +71,6 @@
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TestName;
import org.junit.rules.TestWatcher;
import org.osgi.service.log.LogLevel;
import org.osgi.service.log.LogListener;
Expand Down Expand Up @@ -99,8 +98,6 @@ public class PartRenderingEngineTests {
private boolean logged = false;
private Consumer<RuntimeException> runtimeExceptionHandler;

@Rule
public TestName testName = new TestName();

@Before
public void setUp() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,10 @@
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TestName;

public class TestUnitRegistrationWindows {

@Rule
public TestName name = new TestName();

private static final String PATH_TO_OTHER_APPLICATION_EXE = "c:\\path\\to\\otherApplication.exe";
private static final String PATH_TO_ECLIPSE_EXE = "c:\\path\\with spaces\\to\\eclipse\\Eclipse.exe";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
import java.util.Random;

import org.junit.FixMethodOrder;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TestName;
import org.junit.runners.MethodSorters;

import org.eclipse.ui.internal.texteditor.HistoryTracker;
Expand All @@ -36,8 +34,6 @@
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class TextEditorPluginTest {

@Rule
public TestName testName = new TestName();

Random rand = new Random(55); //pseudo-random for repeatability

Expand Down
Loading