aboutsummaryrefslogtreecommitdiff
path: root/plugins/all-modules-page/src/test/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/all-modules-page/src/test/kotlin')
-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 {