From 3f8fef0f65fe96fb2a3b1dc2280a16b175fbb6c9 Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Tue, 24 Mar 2020 16:19:51 +0100 Subject: Fix stdlib tests by adding stdlib to the test classpath --- plugins/base/src/test/kotlin/model/PropertyTest.kt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'plugins/base/src/test/kotlin/model') diff --git a/plugins/base/src/test/kotlin/model/PropertyTest.kt b/plugins/base/src/test/kotlin/model/PropertyTest.kt index f6f7f3c0..14f7b402 100644 --- a/plugins/base/src/test/kotlin/model/PropertyTest.kt +++ b/plugins/base/src/test/kotlin/model/PropertyTest.kt @@ -167,7 +167,15 @@ class PropertyTest : AbstractModelTest("/src/main/kotlin/property/Test.kt", "pro inlineModelTest( """ |@Strictfp var property = "test" - """ + """, + configuration = dokkaConfiguration { + passes { + pass { + sourceRoots = listOf("src/") + classpath = listOfNotNull(jvmStdlibPath) + } + } + } ) { with((this / "property" / "property").cast()) { with(extra[Annotations].assertNotNull("Annotations")) { -- cgit