mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
[java-intentions] RemoveAllUnusedImportsFix: support static imports; tests
Fixes IDEA-353352 "Remove unused imports" does nothing for static imports GitOrigin-RevId: ae20983342012414568af9ca68db67994832443c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
209c9d230e
commit
2909ce4932
@@ -0,0 +1,17 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.codeInsight.daemon.quickFix;
|
||||
|
||||
import com.intellij.codeInspection.unusedImport.UnusedImportInspection;
|
||||
|
||||
public final class RemoveAllUnusedImportsTest extends LightQuickFixParameterizedTestCase {
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
enableInspectionTool(new UnusedImportInspection());
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getBasePath() {
|
||||
return "/codeInsight/highlight/remove_imports";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user