diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2020-08-13 12:01:24 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-19 13:34:10 +0200 |
commit | cd52a20e56abcb15ebc11659bc79cac6a9b56a75 (patch) | |
tree | 0527bf759706658628f9ee1f3fe8b6b0fcf328e4 /testApi/src/main | |
parent | 852a6ce6c0f43c9b2044320dcceb4c6cc0a3b302 (diff) | |
download | dokka-cd52a20e56abcb15ebc11659bc79cac6a9b56a75.tar.gz dokka-cd52a20e56abcb15ebc11659bc79cac6a9b56a75.tar.bz2 dokka-cd52a20e56abcb15ebc11659bc79cac6a9b56a75.zip |
Add external links to Javadoc tests
Diffstat (limited to 'testApi/src/main')
-rw-r--r-- | testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt b/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt index 333642b1..0b3a6058 100644 --- a/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt +++ b/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt @@ -246,6 +246,9 @@ abstract class AbstractCoreTest( ) } + fun externalDocumentationLink(url: String, packageListUrl: String? = null) = + DokkaConfiguration.ExternalDocumentationLink.Builder(url, packageListUrl).build() as ExternalDocumentationLinkImpl + protected val jvmStdlibPath: String? by lazy { PathManager.getResourceRoot(Strictfp::class.java, "/kotlin/jvm/Strictfp.class") } |