From cc6b2991df60f43607c8271d9657be89b3463a69 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Mon, 12 Jul 2021 09:58:38 +0200 Subject: Handle NBSP and other html entries (#2005) --- .../src/test/kotlin/templates/MultiModuleDocumentationTest.kt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugins/all-modules-page/src/test/kotlin') 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 { -- cgit