[Analysis API test] rename AbstractLowLevelApiModifiablePsiSingleFileTest to AbstractLowLevelApiModifiablePsiTest
^KT-64805
This commit is contained in:
committed by
Space Team
parent
6145255e2c
commit
1aa2377c60
+2
-2
@@ -6,7 +6,7 @@
|
||||
package org.jetbrains.kotlin.analysis.low.level.api.fir.file.structure
|
||||
|
||||
import com.intellij.psi.PsiElement
|
||||
import org.jetbrains.kotlin.analysis.low.level.api.fir.test.base.AbstractLowLevelApiModifiablePsiSingleFileTest
|
||||
import org.jetbrains.kotlin.analysis.low.level.api.fir.test.base.AbstractLowLevelApiModifiablePsiTest
|
||||
import org.jetbrains.kotlin.analysis.test.framework.services.expressionMarkerProvider
|
||||
import org.jetbrains.kotlin.psi.KtCallExpression
|
||||
import org.jetbrains.kotlin.psi.KtDotQualifiedExpression
|
||||
@@ -22,7 +22,7 @@ import kotlin.contracts.contract
|
||||
* elements may currently be in the process of modification, they may be inconsistent. This test ensures that the declaration modification
|
||||
* service can handle such inconsistent PSI, without throwing exceptions.
|
||||
*/
|
||||
abstract class AbstractDeclarationModificationServicePsiResilienceTest : AbstractLowLevelApiModifiablePsiSingleFileTest() {
|
||||
abstract class AbstractDeclarationModificationServicePsiResilienceTest : AbstractLowLevelApiModifiablePsiTest() {
|
||||
protected abstract fun modifySelectedElement(element: PsiElement)
|
||||
|
||||
override fun doTestWithPsiModification(ktFile: KtFile, moduleStructure: TestModuleStructure, testServices: TestServices) {
|
||||
|
||||
+2
-2
@@ -19,11 +19,11 @@ import org.jetbrains.kotlin.test.services.moduleStructure
|
||||
import org.jetbrains.kotlin.test.testFramework.runWriteAction
|
||||
|
||||
/**
|
||||
* [AbstractLowLevelApiModifiablePsiSingleFileTest] applies additional configuration to support the modification of PSI during the test.
|
||||
* [AbstractLowLevelApiModifiablePsiTest] applies additional configuration to support the modification of PSI during the test.
|
||||
*
|
||||
* NOTE: Modifiable PSI tests must not be used until KT-63650 is fixed.
|
||||
*/
|
||||
abstract class AbstractLowLevelApiModifiablePsiSingleFileTest : AbstractAnalysisApiBasedTest() {
|
||||
abstract class AbstractLowLevelApiModifiablePsiTest : AbstractAnalysisApiBasedTest() {
|
||||
override val configurator: AnalysisApiTestConfigurator get() = AnalysisApiFirModifiablePsiSourceTestConfigurator
|
||||
|
||||
abstract fun doTestWithPsiModification(ktFile: KtFile, moduleStructure: TestModuleStructure, testServices: TestServices)
|
||||
Reference in New Issue
Block a user