diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2019-10-31 23:13:09 +0100 |
---|---|---|
committer | Kamil Doległo <kamilok1965@interia.pl> | 2019-10-31 23:13:36 +0100 |
commit | 41b9edd65e58735e69f29369942ef953baadeb3b (patch) | |
tree | 97979272908bc99fb38f1354e4de589b7b556e21 /core/src/test/kotlin | |
parent | 5f36bdd75e32743f54193aa8eff8cd5185b3cf67 (diff) | |
download | dokka-41b9edd65e58735e69f29369942ef953baadeb3b.tar.gz dokka-41b9edd65e58735e69f29369942ef953baadeb3b.tar.bz2 dokka-41b9edd65e58735e69f29369942ef953baadeb3b.zip |
Add markdown content builder
Diffstat (limited to 'core/src/test/kotlin')
-rw-r--r-- | core/src/test/kotlin/markdownParser/MarkdownParserTest.kt | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/core/src/test/kotlin/markdownParser/MarkdownParserTest.kt b/core/src/test/kotlin/markdownParser/MarkdownParserTest.kt index 466d78a6..70554045 100644 --- a/core/src/test/kotlin/markdownParser/MarkdownParserTest.kt +++ b/core/src/test/kotlin/markdownParser/MarkdownParserTest.kt @@ -1,12 +1,8 @@ package org.jetbrains.dokka.tests.markdownParser -import junit.framework.Assert.assertEquals -import junit.framework.Assert.assertTrue -import org.jetbrains.dokka.DokkaConfiguration -import org.jetbrains.dokka.links.DRI -import org.jetbrains.dokka.pages.buildContent +import org.jetbrains.dokka.pages.NewContentBuilder import org.jetbrains.dokka.parseMarkdown -import org.jetbrains.dokka.resolvers.ExternalLocationProvider +import org.junit.Assert.assertTrue import org.junit.Test @@ -20,7 +16,7 @@ class MarkdownParserTest { let's say there are some parentheses, like ( and ) """.trimIndent() val node = parseMarkdown(markdown) - val content = buildContent(node, emptyList()) + val content = NewContentBuilder().buildContent(node, emptyList()) assertTrue(content.isNotEmpty()) } |