From 62d1143ed3f2f76c4f52eaaa1e079fc8b8c7f264 Mon Sep 17 00:00:00 2001 From: Vadim Mishenev Date: Thu, 5 Oct 2023 23:30:14 +0300 Subject: Register Kotlin stdlib classpath in every unit test (#3183) Due to the recent changes in how Analysis API handles builtins, the update to the fresh version of Analysis API requires registering Kotlin stdlib in every testsuite. --- plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/base/src/test/kotlin/content/params') diff --git a/plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt b/plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt index aeb7dcf1..03bc0469 100644 --- a/plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt +++ b/plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt @@ -23,6 +23,7 @@ class ContentForParamsTest : BaseAbstractTest() { sourceSets { sourceSet { sourceRoots = listOf("src/") + classpath = listOfNotNull(jvmStdlibPath) analysisPlatform = "jvm" } } @@ -531,7 +532,7 @@ class ContentForParamsTest : BaseAbstractTest() { link { check { assertEquals( - "java.lang/RuntimeException///PointingToDeclaration/", + "kotlin/RuntimeException///PointingToDeclaration/", (this as ContentDRILink).address.toString() ) } -- cgit