fix maven tests: NoInternalVisibilityInStdLibTest.kt
This commit is contained in:
@@ -124,17 +124,11 @@ class NoInternalVisibilityInStdLibTest {
|
|||||||
|
|
||||||
val environment = KotlinCoreEnvironment.createForProduction(disposable!!, configuration, EnvironmentConfigFiles.JVM_CONFIG_FILES)
|
val environment = KotlinCoreEnvironment.createForProduction(disposable!!, configuration, EnvironmentConfigFiles.JVM_CONFIG_FILES)
|
||||||
|
|
||||||
val module = TopDownAnalyzerFacadeForJVM.createJavaModule("<module for validating std lib>")
|
|
||||||
module.addDependencyOnModule(module)
|
|
||||||
module.addDependencyOnModule(KotlinBuiltIns.getInstance().getBuiltInsModule())
|
|
||||||
|
|
||||||
TopDownAnalyzerFacadeForJVM.analyzeFilesWithJavaIntegrationWithCustomContext(
|
TopDownAnalyzerFacadeForJVM.analyzeFilesWithJavaIntegrationWithCustomContext(
|
||||||
ModuleContext(module, environment.project),
|
TopDownAnalyzerFacadeForJVM.createContextWithSealedModule(environment.project),
|
||||||
environment.getSourceFiles(),
|
environment.getSourceFiles(), CliLightClassGenerationSupport.NoScopeRecordCliBindingTrace(), null, null
|
||||||
CliLightClassGenerationSupport.NoScopeRecordCliBindingTrace(),
|
|
||||||
null,
|
|
||||||
null
|
|
||||||
).moduleDescriptor
|
).moduleDescriptor
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user