aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/javadoc
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-02 17:24:33 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-02 17:24:33 +0300
commit6c16c6197e390576f233223be2283666c566ddb9 (patch)
tree861f678cac96d39d7ba18f3d4dec98a95a8b2395 /core/src/test/kotlin/javadoc
parentd1eee305ef865eee8848989363db3f0fed63e11a (diff)
parent40e81322426a925f3fe88e867a8a0e9858847835 (diff)
downloaddokka-6c16c6197e390576f233223be2283666c566ddb9.tar.gz
dokka-6c16c6197e390576f233223be2283666c566ddb9.tar.bz2
dokka-6c16c6197e390576f233223be2283666c566ddb9.zip
Merge branch '0.9.10/GH-98'
Diffstat (limited to 'core/src/test/kotlin/javadoc')
-rw-r--r--core/src/test/kotlin/javadoc/JavadocTest.kt11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/src/test/kotlin/javadoc/JavadocTest.kt b/core/src/test/kotlin/javadoc/JavadocTest.kt
index 6c572c10..41d22b47 100644
--- a/core/src/test/kotlin/javadoc/JavadocTest.kt
+++ b/core/src/test/kotlin/javadoc/JavadocTest.kt
@@ -96,6 +96,17 @@ class JavadocTest {
}
}
+ @Test fun testSuppress() {
+ verifyJavadoc("testdata/javadoc/suppress.kt", withKotlinRuntime = true) { doc ->
+ assertNull(doc.classNamed("Some"))
+ assertNull(doc.classNamed("SomeAgain"))
+ assertNull(doc.classNamed("Interface"))
+ val classSame = doc.classNamed("Same")!!
+ assertTrue(classSame.fields().isEmpty())
+ assertTrue(classSame.methods().isEmpty())
+ }
+ }
+
private fun verifyJavadoc(name: String,
withJdk: Boolean = false,
withKotlinRuntime: Boolean = false,