From 1223420ead1d2f5d62f2f7a9ccb288614f3e399e Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Tue, 2 Feb 2016 18:18:21 +0100 Subject: restore handling of @suppress tags in javadoc comments --- core/src/test/kotlin/model/JavaTest.kt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'core/src/test') 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) -- cgit