mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
[jvm-inspections] KotlinEmptyMethodInspection: moved to JVM category, test superclass updated
GitOrigin-RevId: 6f93e40ea1a12bb988ad93f9ad384223122da7bf
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1a5c9336cc
commit
82deb5011f
@@ -154,8 +154,8 @@
|
||||
groupBundle="messages.JvmAnalysisBundle" bundle="messages.JvmAnalysisBundle"
|
||||
groupKey="jvm.inspections.group.name" key="inspection.suppression.annotation.display.name"
|
||||
implementationClass="com.intellij.codeInspection.SuppressionAnnotationInspection"/>
|
||||
<globalInspection groupPath="Java" language="JAVA" shortName="EmptyMethod" groupKey="group.names.declaration.redundancy"
|
||||
enabledByDefault="true" groupBundle="messages.InspectionsBundle"
|
||||
<globalInspection language="UAST" shortName="EmptyMethod" groupKey="jvm.inspections.group.name"
|
||||
enabledByDefault="true" groupBundle="messages.JvmAnalysisBundle"
|
||||
level="WARNING" implementationClass="com.intellij.codeInspection.emptyMethod.EmptyMethodInspection"
|
||||
key="inspection.empty.method.display.name" bundle="messages.JvmAnalysisBundle"/>
|
||||
<notificationGroup id="UAST" displayType="BALLOON" hideFromSettings="true"/>
|
||||
|
||||
@@ -3,13 +3,13 @@ package com.intellij.codeInspection.tests.kotlin
|
||||
import com.intellij.codeInspection.emptyMethod.EmptyMethodInspection
|
||||
import com.intellij.codeInspection.ex.GlobalInspectionToolWrapper
|
||||
import com.intellij.jvm.analysis.KotlinJvmAnalysisTestUtil
|
||||
import com.intellij.jvm.analysis.internal.testFramework.JvmSdkInspectionTestBase
|
||||
import com.intellij.jvm.analysis.testFramework.JvmInspectionTestBase
|
||||
import com.intellij.testFramework.TestDataPath
|
||||
|
||||
private const val inspectionPath = "/codeInspection/emptyMethod"
|
||||
|
||||
@TestDataPath("\$CONTENT_ROOT/testData$inspectionPath")
|
||||
class KotlinEmptyMethodInspectionTest : JvmSdkInspectionTestBase() {
|
||||
class KotlinEmptyMethodInspectionTest : JvmInspectionTestBase() {
|
||||
override var inspection = EmptyMethodInspection()
|
||||
|
||||
override fun getBasePath() = KotlinJvmAnalysisTestUtil.TEST_DATA_PROJECT_RELATIVE_BASE_PATH + inspectionPath
|
||||
|
||||
Reference in New Issue
Block a user