mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 06:59:44 +07:00
[jvm] Fix and enable Java API usage test for K2
GitOrigin-RevId: 8420866e4f3b12711825b68fd5cc987143f8d76d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f59622a97b
commit
01cfcb6099
@@ -1,11 +1,7 @@
|
||||
package com.intellij.codeInspection.tests.kotlin
|
||||
|
||||
import com.intellij.idea.IgnoreJUnit3
|
||||
import org.jetbrains.kotlin.idea.base.plugin.KotlinPluginMode
|
||||
import org.junit.Ignore
|
||||
|
||||
@Ignore
|
||||
@IgnoreJUnit3
|
||||
class K2JavaApiUsageInspectionTest : KotlinJavaApiUsageInspectionTest() {
|
||||
override val pluginMode: KotlinPluginMode get() = KotlinPluginMode.K2
|
||||
}
|
||||
@@ -171,7 +171,7 @@ abstract class KotlinJavaApiUsageInspectionTest : JavaApiUsageInspectionTestBase
|
||||
myFixture.addClass("""
|
||||
package javax.swing;
|
||||
|
||||
public class AbstractListModel<K> implements ListModel<E> { }
|
||||
public class AbstractListModel<E> implements ListModel<E> { }
|
||||
""".trimIndent())
|
||||
myFixture.testHighlighting(JvmLanguage.KOTLIN, """
|
||||
import javax.swing.AbstractListModel
|
||||
|
||||
Reference in New Issue
Block a user