[Analysis API] Minor, improve naming for 'computeTestDataPath()'

This commit is contained in:
Yan Zhulanow
2024-01-17 00:13:44 +09:00
committed by Space Team
parent d2cfd247a5
commit adb8b7b252
3 changed files with 3 additions and 3 deletions
@@ -293,7 +293,7 @@ abstract class AbstractAnalysisApiBasedTest : TestWithDisposable() {
}
protected fun runTest(@TestDataFile path: String) {
testDataPath = configurator.preprocessTestDataPath(Paths.get(path))
testDataPath = configurator.computeTestDataPath(Paths.get(path))
val testConfiguration = createTestConfiguration()
testServices = testConfiguration.testServices
val moduleStructure = createModuleStructure(testConfiguration)
@@ -42,7 +42,7 @@ abstract class AnalysisApiTestConfigurator {
KotlinGlobalModificationService.getInstance(project).publishGlobalModuleStateModification()
}
open fun preprocessTestDataPath(path: Path): Path = path
open fun computeTestDataPath(path: Path): Path = path
abstract fun createModules(moduleStructure: TestModuleStructure, testServices: TestServices, project: Project): KtModuleProjectStructure