From 3364848d105d3dba2c4b69dbb2e0904573e927b5 Mon Sep 17 00:00:00 2001 From: Anna Kozlova Date: Tue, 16 Aug 2016 21:51:17 +0300 Subject: [PATCH] fix testdata --- .../intellij/codeInspection/ex/InspectionProfileTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/ex/InspectionProfileTest.java b/java/java-tests/testSrc/com/intellij/codeInspection/ex/InspectionProfileTest.java index 78fccd5557ac..72a7a909af57 100644 --- a/java/java-tests/testSrc/com/intellij/codeInspection/ex/InspectionProfileTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInspection/ex/InspectionProfileTest.java @@ -325,11 +325,12 @@ public class InspectionProfileTest extends LightIdeaTestCase { InspectionToolWrapper toolWrapper = model.getInspectionTool("unused", getProject()); UnusedDeclarationInspectionBase tool = (UnusedDeclarationInspectionBase)toolWrapper.getTool(); UnusedSymbolLocalInspectionBase inspectionTool = tool.getSharedLocalInspectionTool(); - inspectionTool.setClassVisibility("none"); + inspectionTool.setClassVisibility(PsiModifier.PUBLIC); + inspectionTool.CLASS = false; model.commit(); String mergedText = "\n" + "