[AA] Tests: Improve handling of dependencyPaths

- The name wasn't specific enough.
- Remove default `emptyList()` argument from `CompiledLibraryProvider`
  so that passing `dependencyBinaryRoots` isn't missed. (My changes
  didn't include it in `KtLibraryBinaryModuleFactoryBase` yet, but it
  was actually missed from `KtLibrarySourceModuleFactory` even in the
  original commit.)

^KT-65960
^KT-64994
This commit is contained in:
Marco Pennekamp
2024-02-26 16:11:42 +01:00
committed by Space Team
parent 5663521a36
commit 3f04604187
11 changed files with 27 additions and 22 deletions
@@ -68,7 +68,7 @@ private object KtOutOfContentRootModuleFactory : KtModuleFactory {
override fun createModule(
testModule: TestModule,
contextModule: KtTestModule?,
dependencyPaths: Collection<Path>,
dependencyBinaryRoots: Collection<Path>,
testServices: TestServices,
project: Project,
): KtTestModule {
@@ -29,7 +29,7 @@ private object KtStdlibSourceModuleFactory : KtModuleFactory {
override fun createModule(
testModule: TestModule,
contextModule: KtTestModule?,
dependencyPaths: Collection<Path>,
dependencyBinaryRoots: Collection<Path>,
testServices: TestServices,
project: Project,
): KtTestModule {