diff --git a/plugins/kotlin/intellij.kotlin.base.test/BUILD.bazel b/plugins/kotlin/intellij.kotlin.base.test/BUILD.bazel index 935540b943f4..a682b2c55db6 100644 --- a/plugins/kotlin/intellij.kotlin.base.test/BUILD.bazel +++ b/plugins/kotlin/intellij.kotlin.base.test/BUILD.bazel @@ -72,6 +72,7 @@ jvm_library( "//plugins/kotlin/completion/tests-shared:kotlin-completion-tests-shared_test_lib", "//java/openapi:java", "//java/idea-ui:ui", + "@lib//:jet_check", ] ) ### auto-generated section `build intellij.kotlin.base.test` end diff --git a/plugins/kotlin/intellij.kotlin.base.test/intellij.kotlin.base.test.iml b/plugins/kotlin/intellij.kotlin.base.test/intellij.kotlin.base.test.iml index 6715c9e4004b..b35b9f5599cd 100644 --- a/plugins/kotlin/intellij.kotlin.base.test/intellij.kotlin.base.test.iml +++ b/plugins/kotlin/intellij.kotlin.base.test/intellij.kotlin.base.test.iml @@ -61,5 +61,6 @@ + \ No newline at end of file diff --git a/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/propertyBased/KotlinCodeInsightSanityTest.kt b/plugins/kotlin/intellij.kotlin.base.test/test/org/jetbrains/kotlin/idea/propertyBased/KotlinCodeInsightSanityTest.kt similarity index 95% rename from plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/propertyBased/KotlinCodeInsightSanityTest.kt rename to plugins/kotlin/intellij.kotlin.base.test/test/org/jetbrains/kotlin/idea/propertyBased/KotlinCodeInsightSanityTest.kt index 69bb42c0fa46..0cf7976d8002 100644 --- a/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/propertyBased/KotlinCodeInsightSanityTest.kt +++ b/plugins/kotlin/intellij.kotlin.base.test/test/org/jetbrains/kotlin/idea/propertyBased/KotlinCodeInsightSanityTest.kt @@ -1,4 +1,4 @@ -// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.kotlin.idea.propertyBased import com.intellij.openapi.application.PathManager diff --git a/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/propertyBased/KotlinIntentionPolicy.kt b/plugins/kotlin/intellij.kotlin.base.test/test/org/jetbrains/kotlin/idea/propertyBased/KotlinIntentionPolicy.kt similarity index 68% rename from plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/propertyBased/KotlinIntentionPolicy.kt rename to plugins/kotlin/intellij.kotlin.base.test/test/org/jetbrains/kotlin/idea/propertyBased/KotlinIntentionPolicy.kt index b30efb4ae8c4..e99774bdea46 100644 --- a/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/propertyBased/KotlinIntentionPolicy.kt +++ b/plugins/kotlin/intellij.kotlin.base.test/test/org/jetbrains/kotlin/idea/propertyBased/KotlinIntentionPolicy.kt @@ -1,15 +1,11 @@ -// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.kotlin.idea.propertyBased import com.intellij.codeInsight.daemon.impl.HighlightInfo import com.intellij.codeInsight.intention.IntentionAction -import com.intellij.codeInsight.intention.IntentionActionDelegate import com.intellij.openapi.editor.Editor import com.intellij.psi.PsiFile import com.intellij.testFramework.propertyBased.IntentionPolicy -import org.jetbrains.kotlin.idea.codeInsight.intentions.shared.ConvertToScopeIntention -import org.jetbrains.kotlin.idea.quickfix.createFromUsage.createCallable.CreateCallableFromUsageFixBase -import org.jetbrains.kotlin.idea.refactoring.move.changePackage.ChangePackageIntention abstract class KotlinIntentionPolicy : IntentionPolicy() { override fun shouldSkipIntention(actionText: String): Boolean =