mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
36 lines
835 B
Kotlin
36 lines
835 B
Kotlin
package com.intellij.codeInspection.tests.kotlin
|
|
|
|
import com.intellij.jvm.analysis.internal.testFramework.SameParameterValueInspectionTestBase
|
|
import org.jetbrains.kotlin.idea.test.ExpectedPluginModeProvider
|
|
import org.jetbrains.kotlin.idea.test.setUpWithKotlinPlugin
|
|
|
|
abstract class KotlinSameParameterValueLocalInspectionTest : SameParameterValueInspectionTestBase(true), ExpectedPluginModeProvider {
|
|
override fun setUp() {
|
|
setUpWithKotlinPlugin(testRootDisposable) { super.setUp() }
|
|
}
|
|
|
|
fun testEntryPoint() {
|
|
doHighlightTest(runDeadCodeFirst = true)
|
|
}
|
|
|
|
fun testMethodWithSuper() {
|
|
doHighlightTest()
|
|
}
|
|
|
|
fun testVarargs() {
|
|
doHighlightTest()
|
|
}
|
|
|
|
fun testNamedArg() {
|
|
doHighlightTest()
|
|
}
|
|
|
|
fun testNegativeDouble() {
|
|
doHighlightTest()
|
|
}
|
|
|
|
fun testReceiver() {
|
|
doHighlightTest()
|
|
}
|
|
}
|