Fixed compilation (IDEA API changed).

This commit is contained in:
Evgeny Gerashchenko
2014-10-20 18:20:09 +04:00
committed by Nikolay Krasko
parent 1c1ead0471
commit 501cb08154
@@ -80,7 +80,7 @@ public abstract class AbstractJetInspectionTest: LightCodeInsightFixtureTestCase
val inspectionManager = (InspectionManager.getInstance(getProject()) as InspectionManagerEx) val inspectionManager = (InspectionManager.getInstance(getProject()) as InspectionManagerEx)
val globalContext = CodeInsightTestFixtureImpl.createGlobalContextForTool(scope, getProject(), inspectionManager, toolWrapper) val globalContext = CodeInsightTestFixtureImpl.createGlobalContextForTool(scope, getProject(), inspectionManager, toolWrapper)
InspectionTestUtil.runTool(toolWrapper, scope, globalContext, inspectionManager) InspectionTestUtil.runTool(toolWrapper, scope, globalContext)
InspectionTestUtil.compareToolResults(globalContext, toolWrapper, false, inspectionsTestDir.getPath()) InspectionTestUtil.compareToolResults(globalContext, toolWrapper, false, inspectionsTestDir.getPath())
} }
finally { finally {