aboutsummaryrefslogtreecommitdiff
path: root/test/src/model/ClassTest.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2014-12-30 16:34:08 +0100
committerDmitry Jemerov <yole@jetbrains.com>2014-12-30 16:37:19 +0100
commitef51f7e2466e28db0943d528b6b489aefd098c0d (patch)
treefed7da99ea57a6cd5443d2fb40ae90c38431d800 /test/src/model/ClassTest.kt
parent5f47bc17630ef1457b36054dc8b19011d9d14132 (diff)
downloaddokka-ef51f7e2466e28db0943d528b6b489aefd098c0d.tar.gz
dokka-ef51f7e2466e28db0943d528b6b489aefd098c0d.tar.bz2
dokka-ef51f7e2466e28db0943d528b6b489aefd098c0d.zip
annotations work in progress
Diffstat (limited to 'test/src/model/ClassTest.kt')
-rw-r--r--test/src/model/ClassTest.kt14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/src/model/ClassTest.kt b/test/src/model/ClassTest.kt
index b95a31dc..b9be30bf 100644
--- a/test/src/model/ClassTest.kt
+++ b/test/src/model/ClassTest.kt
@@ -167,3 +167,17 @@ public class ClassTest {
}
}
}
+
+ Test fun annotatedClass() {
+ verifyModel("test/data/classes/annotatedClass.kt") { model ->
+ with(model.members.single().members.single()) {
+ assertEquals(1, annotations.count())
+ with(annotations[0]) {
+ assertEquals("data", name)
+ assertEquals(Content.Empty, content)
+ assertEquals(DocumentationNode.Kind.Annotation, kind)
+ }
+ }
+ }
+ }
+}