From 41b9edd65e58735e69f29369942ef953baadeb3b Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Thu, 31 Oct 2019 23:13:09 +0100 Subject: Add markdown content builder --- core/src/test/kotlin/markdownParser/MarkdownParserTest.kt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'core/src/test/kotlin/markdownParser') 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()) } -- cgit