aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/model
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-02 16:05:47 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-02 16:05:47 +0300
commit40e81322426a925f3fe88e867a8a0e9858847835 (patch)
tree49c7ce2f48eac28dddc226edee663bd9f081e516 /core/src/test/kotlin/model
parent225a4993835b3c5c798e9cecd17cbb31da5d9ee8 (diff)
downloaddokka-40e81322426a925f3fe88e867a8a0e9858847835.tar.gz
dokka-40e81322426a925f3fe88e867a8a0e9858847835.tar.bz2
dokka-40e81322426a925f3fe88e867a8a0e9858847835.zip
Fix for GH #98 : Added tests, altered fix code for corner cases
Diffstat (limited to 'core/src/test/kotlin/model')
-rw-r--r--core/src/test/kotlin/model/JavaTest.kt9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/src/test/kotlin/model/JavaTest.kt b/core/src/test/kotlin/model/JavaTest.kt
index a89b7a11..c0e68304 100644
--- a/core/src/test/kotlin/model/JavaTest.kt
+++ b/core/src/test/kotlin/model/JavaTest.kt
@@ -3,6 +3,7 @@ package org.jetbrains.dokka.tests
import org.jetbrains.dokka.NodeKind
import org.jetbrains.dokka.RefKind
import org.junit.Assert.*
+import org.junit.Ignore
import org.junit.Test
public class JavaTest {
@@ -146,7 +147,13 @@ public class JavaTest {
}
}
- @Test fun suppressTag() {
+ /**
+ * `@suppress` not supported in Java!
+ *
+ * [Proposed tags](http://www.oracle.com/technetwork/java/javase/documentation/proposed-tags-142378.html)
+ * Proposed tag `@exclude` for it, but not supported yet
+ */
+ @Ignore("@suppress not supported in Java!") @Test fun suppressTag() {
verifyJavaPackageMember("testdata/java/suppressTag.java") { cls ->
assertEquals(1, cls.members(NodeKind.Function).size)
}