aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-23 14:06:59 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-23 15:00:22 +0200
commit5065c969e9f07086719b44d89686129f7e3504f8 (patch)
tree4f0ade7175e14fc0ee9a5537d279111414738610 /integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka
parent9806f309ae4c16f72f685c5aca1dad5d8159f48f (diff)
downloaddokka-5065c969e9f07086719b44d89686129f7e3504f8.tar.gz
dokka-5065c969e9f07086719b44d89686129f7e3504f8.tar.bz2
dokka-5065c969e9f07086719b44d89686129f7e3504f8.zip
Add link to androidx documentation by default for Android projects
Diffstat (limited to 'integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka')
-rw-r--r--integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/Android0GradleIntegrationTest.kt7
1 files changed, 7 insertions, 0 deletions
diff --git a/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/Android0GradleIntegrationTest.kt b/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/Android0GradleIntegrationTest.kt
index 92ea4c3e..4ba01ee3 100644
--- a/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/Android0GradleIntegrationTest.kt
+++ b/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/Android0GradleIntegrationTest.kt
@@ -73,5 +73,12 @@ class Android0GradleIntegrationTest(override val versions: BuildVersions) : Abst
"https://developer.android.com/reference/android/content/Context.html" in file.readText()
}, "Expected link to developer.android.com"
)
+
+ assertTrue(
+ htmlOutputDir.allHtmlFiles().any { file ->
+ "https://developer.android.com/reference/kotlin/androidx/appcompat/app/AppCompatActivity.html" in
+ file.readText()
+ }, "Expected link to developer.android.com/.../androidx/"
+ )
}
}