201: MadTestingUtil.enableAllInspections second parameter was removed
This commit is contained in:
committed by
Nikolay Krasko
parent
ae1cfff5d2
commit
41ca51cb9e
@@ -10,7 +10,6 @@ import com.intellij.lang.annotation.AnnotationHolder
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.util.Disposer
|
||||
import com.intellij.psi.PsiElement
|
||||
import com.intellij.testFramework.propertyBased.MadTestingUtil
|
||||
import org.jetbrains.kotlin.idea.core.script.ScriptConfigurationManager
|
||||
import org.jetbrains.kotlin.idea.highlighter.KotlinPsiChecker
|
||||
import org.jetbrains.kotlin.idea.highlighter.KotlinPsiCheckerAndHighlightingUpdater
|
||||
@@ -235,7 +234,7 @@ class PerformanceProjectsTest : AbstractPerformanceProjectsTest() {
|
||||
val project = myProject!!
|
||||
val disposable = Disposer.newDisposable("perfKtsFileAnalysis $fileName")
|
||||
|
||||
MadTestingUtil.enableAllInspections(project, disposable)
|
||||
enableAllInspectionsCompat(project, disposable)
|
||||
|
||||
replaceWithCustomHighlighter()
|
||||
|
||||
|
||||
@@ -3,7 +3,18 @@
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
@file:Suppress("UNUSED_PARAMETER")
|
||||
|
||||
package org.jetbrains.kotlin.idea.perf
|
||||
|
||||
import com.intellij.openapi.Disposable
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.testFramework.propertyBased.MadTestingUtil
|
||||
|
||||
// BUNCH: 193
|
||||
typealias TestApplicationManager = com.intellij.idea.IdeaTestApplication
|
||||
fun enableAllInspectionsCompat(project: Project, disposable: Disposable) {
|
||||
MadTestingUtil.enableAllInspections(project, disposable)
|
||||
}
|
||||
|
||||
// BUNCH: 193
|
||||
typealias TestApplicationManager = com.intellij.idea.IdeaTestApplication
|
||||
|
||||
@@ -3,7 +3,18 @@
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
@file:Suppress("UNUSED_PARAMETER")
|
||||
|
||||
package org.jetbrains.kotlin.idea.perf
|
||||
|
||||
import com.intellij.openapi.Disposable
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.testFramework.propertyBased.MadTestingUtil
|
||||
|
||||
// BUNCH: 193
|
||||
fun enableAllInspectionsCompat(project: Project, disposable: Disposable) {
|
||||
MadTestingUtil.enableAllInspections(project)
|
||||
}
|
||||
|
||||
// BUNCH: 193
|
||||
typealias TestApplicationManager = com.intellij.testFramework.TestApplicationManager
|
||||
Reference in New Issue
Block a user