diff options
Diffstat (limited to 'testApi')
-rw-r--r-- | testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt b/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt index 995bd949..333642b1 100644 --- a/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt +++ b/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt @@ -12,6 +12,7 @@ import org.jetbrains.dokka.utilities.DokkaConsoleLogger import org.jetbrains.dokka.utilities.DokkaLogger import org.junit.rules.TemporaryFolder import java.io.File +import java.net.URL import java.nio.charset.Charset import java.nio.file.Files import java.nio.file.InvalidPathException @@ -261,6 +262,11 @@ abstract class AbstractCoreTest( ?.replaceAfter(".jar", "") } + protected val stdlibExternalDocumentationLink = ExternalDocumentationLinkImpl( + URL("https://kotlinlang.org/api/latest/jvm/stdlib/"), + URL("https://kotlinlang.org/api/latest/jvm/stdlib/package-list") + ) + companion object { private val filePathRegex = Regex("""[\n^](/\w+)+(\.\w+)?\s*\n""") } |