diff options
Diffstat (limited to 'integration-tests/src/main/kotlin/org/jetbrains')
-rw-r--r-- | integration-tests/src/main/kotlin/org/jetbrains/dokka/it/AbstractIntegrationTest.kt | 8 |
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}" + ) + } } |