[FIR] Move createSessionForTests, createSessionForTests into FirTestSessionFactoryHelper

This commit is contained in:
Ivan Kochurkin
2022-10-05 22:20:16 +02:00
committed by Space Team
parent 1deb253bac
commit a4ad8d59b6
8 changed files with 101 additions and 94 deletions
@@ -129,7 +129,7 @@ class FirResolveModularizedTotalKotlinTest : AbstractModularizedTest() {
val scope = GlobalSearchScope.filesScope(project, ktFiles.map { it.virtualFile })
.uniteWith(TopDownAnalyzerFacadeForJVM.AllJavaSourcesInProjectScope(project))
val librariesScope = ProjectScope.getLibrariesScope(project)
val session = createSessionForTests(
val session = FirTestSessionFactoryHelper.createSessionForTests(
environment.toAbstractProjectEnvironment(),
scope.toAbstractProjectFileSearchScope(),
librariesScope.toAbstractProjectFileSearchScope(),