aboutsummaryrefslogtreecommitdiff
path: root/core/src/test
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2016-02-02 18:18:21 +0100
committerDmitry Jemerov <yole@jetbrains.com>2016-02-02 18:18:21 +0100
commit1223420ead1d2f5d62f2f7a9ccb288614f3e399e (patch)
tree37cbf35888d43a5fa01f38b86d0ef1879c26553e /core/src/test
parent383f0f87c60ab9cfcf3ecca45f9c613544894132 (diff)
downloaddokka-1223420ead1d2f5d62f2f7a9ccb288614f3e399e.tar.gz
dokka-1223420ead1d2f5d62f2f7a9ccb288614f3e399e.tar.bz2
dokka-1223420ead1d2f5d62f2f7a9ccb288614f3e399e.zip
restore handling of @suppress tags in javadoc comments
Diffstat (limited to 'core/src/test')
-rw-r--r--core/src/test/kotlin/model/JavaTest.kt10
1 files changed, 7 insertions, 3 deletions
diff --git a/core/src/test/kotlin/model/JavaTest.kt b/core/src/test/kotlin/model/JavaTest.kt
index 447fa537..a3a3f772 100644
--- a/core/src/test/kotlin/model/JavaTest.kt
+++ b/core/src/test/kotlin/model/JavaTest.kt
@@ -2,10 +2,8 @@ package org.jetbrains.dokka.tests
import org.jetbrains.dokka.NodeKind
import org.jetbrains.dokka.RefKind
+import org.junit.Assert.*
import org.junit.Test
-import org.junit.Assert.assertEquals
-import org.junit.Assert.assertFalse
-import org.junit.Assert.assertTrue
public class JavaTest {
@Test fun function() {
@@ -148,6 +146,12 @@ public class JavaTest {
}
}
+ @Test fun suppressTag() {
+ verifyJavaPackageMember("testdata/java/suppressTag.java") { cls ->
+ assertEquals(1, cls.members(NodeKind.Function).size)
+ }
+ }
+
@Test fun annotatedAnnotation() {
verifyJavaPackageMember("testdata/java/annotatedAnnotation.java") { cls ->
assertEquals(1, cls.annotations.size)