[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
@@ -72,7 +72,7 @@ object AnalysisApiFe10TestConfigurator : AnalysisApiTestConfigurator() {
JvmResolveUtil.analyze(project, files.filterIsInstance<KtFile>(), compilerConfiguration, packageProviderFactory)
}
override fun preprocessTestDataPath(path: Path): Path {
override fun computeTestDataPath(path: Path): Path {
val newPath = path.resolveSibling(path.nameWithoutExtension + "." + testPrefix + "." + path.extension)
if (newPath.toFile().exists()) return newPath
return path