aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/model
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-03-24 16:19:51 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-03-25 12:54:56 +0100
commit3f8fef0f65fe96fb2a3b1dc2280a16b175fbb6c9 (patch)
tree3ec24bb98f64503501133ddf90a938e30db164a6 /plugins/base/src/test/kotlin/model
parent3c6624aa876b9b55baa32b121240f7bc7eda8116 (diff)
downloaddokka-3f8fef0f65fe96fb2a3b1dc2280a16b175fbb6c9.tar.gz
dokka-3f8fef0f65fe96fb2a3b1dc2280a16b175fbb6c9.tar.bz2
dokka-3f8fef0f65fe96fb2a3b1dc2280a16b175fbb6c9.zip
Fix stdlib tests by adding stdlib to the test classpath
Diffstat (limited to 'plugins/base/src/test/kotlin/model')
-rw-r--r--plugins/base/src/test/kotlin/model/PropertyTest.kt10
1 files changed, 9 insertions, 1 deletions
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<DProperty>()) {
with(extra[Annotations].assertNotNull("Annotations")) {