aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/src/main/kotlin/org/jetbrains/dokka
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-08-11 11:10:30 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-08-12 09:38:06 +0200
commit6a7d1c9aedfb12f309a410c404a830cb9d3972d3 (patch)
tree041efe2004f3adfdc8f029cd294380cf3f393fc4 /integration-tests/src/main/kotlin/org/jetbrains/dokka
parentaeb2014eee704be377c06205d16f60562d2a8cf1 (diff)
downloaddokka-6a7d1c9aedfb12f309a410c404a830cb9d3972d3.tar.gz
dokka-6a7d1c9aedfb12f309a410c404a830cb9d3972d3.tar.bz2
dokka-6a7d1c9aedfb12f309a410c404a830cb9d3972d3.zip
Implement DocumentableFilterSuppressedTransformer
Diffstat (limited to 'integration-tests/src/main/kotlin/org/jetbrains/dokka')
-rw-r--r--integration-tests/src/main/kotlin/org/jetbrains/dokka/it/AbstractIntegrationTest.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/integration-tests/src/main/kotlin/org/jetbrains/dokka/it/AbstractIntegrationTest.kt b/integration-tests/src/main/kotlin/org/jetbrains/dokka/it/AbstractIntegrationTest.kt
index d2e3c980..c4914652 100644
--- a/integration-tests/src/main/kotlin/org/jetbrains/dokka/it/AbstractIntegrationTest.kt
+++ b/integration-tests/src/main/kotlin/org/jetbrains/dokka/it/AbstractIntegrationTest.kt
@@ -68,4 +68,12 @@ abstract class AbstractIntegrationTest {
}
}
}
+
+ protected fun assertNoSuppressedMarker(file: File) {
+ val fileText = file.readText()
+ assertFalse(
+ fileText.contains("§SUPPRESSED§"),
+ "Unexpected `§SUPPRESSED§` in file ${file.path}"
+ )
+ }
}