diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-07-13 13:44:05 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-07-13 14:23:08 +0200 |
commit | 57b9432fb971926c9a6a904f932d69c7fa022ef3 (patch) | |
tree | b84c55da86d4840a5bdb76eb1240011186d74acb /integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka | |
parent | f8f376ca9a95eb414dfa5428ac636611dcbbea39 (diff) | |
download | dokka-57b9432fb971926c9a6a904f932d69c7fa022ef3.tar.gz dokka-57b9432fb971926c9a6a904f932d69c7fa022ef3.tar.bz2 dokka-57b9432fb971926c9a6a904f932d69c7fa022ef3.zip |
BasicGradleIntegrationTest: Cover dokkaSourceSet configureEach
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/BasicGradleIntegrationTest.kt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/BasicGradleIntegrationTest.kt b/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/BasicGradleIntegrationTest.kt index 9ea47d96..5e23a753 100644 --- a/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/BasicGradleIntegrationTest.kt +++ b/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/BasicGradleIntegrationTest.kt @@ -57,7 +57,7 @@ class BasicGradleIntegrationTest(override val versions: BuildVersions) : Abstrac val navigationHtml = File(this, "navigation.html") assertTrue(navigationHtml.isFile, "Missing navigation.html") - val moduleOutputDir = File(this, "it-basic") + val moduleOutputDir = File(this, "-basic -project") assertTrue(moduleOutputDir.isDirectory, "Missing module directory") val moduleIndexHtml = File(moduleOutputDir, "index.html") @@ -77,6 +77,11 @@ class BasicGradleIntegrationTest(override val versions: BuildVersions) : Abstrac assertNoUnresolvedLInks(file) assertNoHrefToMissingLocalFileOrDirectory(file) } + + assertTrue( + allHtmlFiles().any { file -> "Basic Project" in file.readText() }, + "Expected configured moduleDisplayName to be present in html" + ) } private fun File.assertJavadocOutputDir() { |