diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-09-08 16:46:19 +0200 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-09-08 16:46:19 +0200 |
commit | 4575396e10b604a7c013fc47d05e1b808ab4f4f2 (patch) | |
tree | ce5f99baa3fd2923994e9664fdda7977e13a5c26 /test/src/model/PropertyTest.kt | |
parent | 43eb8f4eefb845d61f184f82a02dcfde3c7e1107 (diff) | |
download | dokka-4575396e10b604a7c013fc47d05e1b808ab4f4f2.tar.gz dokka-4575396e10b604a7c013fc47d05e1b808ab4f4f2.tar.bz2 dokka-4575396e10b604a7c013fc47d05e1b808ab4f4f2.zip |
fix HTML entity handling after changes in markdown parser; remove detail count assertions from tests
Diffstat (limited to 'test/src/model/PropertyTest.kt')
-rw-r--r-- | test/src/model/PropertyTest.kt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/src/model/PropertyTest.kt b/test/src/model/PropertyTest.kt index 93a0f681..38c3160f 100644 --- a/test/src/model/PropertyTest.kt +++ b/test/src/model/PropertyTest.kt @@ -1,8 +1,11 @@ package org.jetbrains.dokka.tests +import org.jetbrains.dokka.Content +import org.jetbrains.dokka.DocumentationNode +import org.jetbrains.dokka.DocumentationReference import org.junit.Test -import kotlin.test.* -import org.jetbrains.dokka.* +import kotlin.test.assertEquals +import kotlin.test.assertTrue public class PropertyTest { Test fun valueProperty() { @@ -50,7 +53,6 @@ public class PropertyTest { assertEquals("property", name) assertEquals(DocumentationNode.Kind.Property, kind) assertEquals(Content.Empty, content) - assertEquals(4, details.count()) assertEquals("String", detail(DocumentationNode.Kind.Type).name) val modifiers = details(DocumentationNode.Kind.Modifier).map { it.name } assertTrue("final" in modifiers) |