aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/content/params
diff options
context:
space:
mode:
authorVadim Mishenev <vad-mishenev@yandex.ru>2023-10-05 23:30:14 +0300
committerGitHub <noreply@github.com>2023-10-05 23:30:14 +0300
commit62d1143ed3f2f76c4f52eaaa1e079fc8b8c7f264 (patch)
tree73a30b31733967db7e8a116ca7d65bc46269e45f /plugins/base/src/test/kotlin/content/params
parent38e09dd0a2b0f0f111c33e30665faa933142959f (diff)
downloaddokka-62d1143ed3f2f76c4f52eaaa1e079fc8b8c7f264.tar.gz
dokka-62d1143ed3f2f76c4f52eaaa1e079fc8b8c7f264.tar.bz2
dokka-62d1143ed3f2f76c4f52eaaa1e079fc8b8c7f264.zip
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.
Diffstat (limited to 'plugins/base/src/test/kotlin/content/params')
-rw-r--r--plugins/base/src/test/kotlin/content/params/ContentForParamsTest.kt3
1 files changed, 2 insertions, 1 deletions
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()
)
}