mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 21:55:01 +07:00
tests: remove unnecessary MethodDoesntCallSuperMethod suppressions
after IDEA-168979 having been fixed
This commit is contained in:
@@ -47,7 +47,6 @@ public class LoadProjectTest extends PlatformTestCase {
|
||||
((ProjectImpl)getProject()).registerComponentImplementation(FileEditorManager.class, FileEditorManagerImpl.class);
|
||||
}
|
||||
|
||||
@SuppressWarnings("MethodDoesntCallSuperMethod")
|
||||
@Override
|
||||
protected void tearDown() throws Exception {
|
||||
Project project = getProject();
|
||||
|
||||
@@ -262,7 +262,6 @@ public abstract class LightPlatformTestCase extends UsefulTestCase implements Da
|
||||
return ourSourceRoot;
|
||||
}
|
||||
|
||||
@SuppressWarnings("MethodDoesntCallSuperMethod")
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
EdtTestUtil.runInEdtAndWait(() -> {
|
||||
|
||||
@@ -446,15 +446,10 @@ public abstract class PlatformTestCase extends UsefulTestCase implements DataPro
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("MethodDoesntCallSuperMethod")
|
||||
@Override
|
||||
protected void tearDown() throws Exception {
|
||||
Project project = myProject;
|
||||
|
||||
runTearDownActions(project);
|
||||
}
|
||||
|
||||
private void runTearDownActions(Project project) {
|
||||
new RunAll()
|
||||
.append(this::disposeRootDisposable)
|
||||
.append(() -> {
|
||||
|
||||
@@ -83,7 +83,6 @@ public class CreateClassFixTest extends UsefulTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("MethodDoesntCallSuperMethod")
|
||||
@After
|
||||
public void tearDown() throws Exception {
|
||||
final Ref<Exception> ex = new Ref<>();
|
||||
|
||||
Reference in New Issue
Block a user