mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
32 lines
787 B
Kotlin
32 lines
787 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 KotlinSameParameterValueGlobalInspectionTest : SameParameterValueInspectionTestBase(false), 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()
|
|
}
|
|
}
|