aboutsummaryrefslogtreecommitdiff
path: root/plugins/all-modules-page/src/test/kotlin/templates
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-07-12 09:58:38 +0200
committerGitHub <noreply@github.com>2021-07-12 09:58:38 +0200
commitcc6b2991df60f43607c8271d9657be89b3463a69 (patch)
treec705aa2808224a6b80de270ac65d61936e93f253 /plugins/all-modules-page/src/test/kotlin/templates
parent4548d1d929950c794b81cdad648bd2e0fd13a4e1 (diff)
downloaddokka-cc6b2991df60f43607c8271d9657be89b3463a69.tar.gz
dokka-cc6b2991df60f43607c8271d9657be89b3463a69.tar.bz2
dokka-cc6b2991df60f43607c8271d9657be89b3463a69.zip
Handle NBSP and other html entries (#2005)
Diffstat (limited to 'plugins/all-modules-page/src/test/kotlin/templates')
-rw-r--r--plugins/all-modules-page/src/test/kotlin/templates/MultiModuleDocumentationTest.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/all-modules-page/src/test/kotlin/templates/MultiModuleDocumentationTest.kt b/plugins/all-modules-page/src/test/kotlin/templates/MultiModuleDocumentationTest.kt
index 57f7027f..64948be8 100644
--- a/plugins/all-modules-page/src/test/kotlin/templates/MultiModuleDocumentationTest.kt
+++ b/plugins/all-modules-page/src/test/kotlin/templates/MultiModuleDocumentationTest.kt
@@ -7,6 +7,7 @@ import org.jetbrains.dokka.pages.ContentKind
import org.jetbrains.dokka.pages.ContentResolvedLink
import org.jetbrains.dokka.pages.MultimoduleRootPageNode
import org.junit.Rule
+import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import org.junit.rules.TemporaryFolder
@@ -27,6 +28,11 @@ class MultiModuleDocumentationTest : MultiModuleAbstractTest() {
folder.root.resolve("README.md").writeText(documentationContent)
}
+ @AfterEach
+ fun teardown(){
+ folder.root.resolve("README.md").delete()
+ }
+
@Test
fun `documentation should be included in all modules page`() {
val configuration = dokkaConfiguration {