diff options
Diffstat (limited to 'plugins/base/src/test/kotlin/signatures')
3 files changed, 7 insertions, 7 deletions
diff --git a/plugins/base/src/test/kotlin/signatures/AbstractRenderingTest.kt b/plugins/base/src/test/kotlin/signatures/AbstractRenderingTest.kt index e7f408f2..d3fb6488 100644 --- a/plugins/base/src/test/kotlin/signatures/AbstractRenderingTest.kt +++ b/plugins/base/src/test/kotlin/signatures/AbstractRenderingTest.kt @@ -50,8 +50,8 @@ abstract class AbstractRenderingTest : BaseAbstractTest() { fun TestOutputWriterPlugin.renderedDivergentContent(path: String): Elements = renderedContent(path).select("div.divergent-group") - fun TestOutputWriterPlugin.renderedSourceDepenentContent(path: String): Elements = - renderedContent(path).select("div.sourceset-depenent-content") + fun TestOutputWriterPlugin.renderedSourceDependentContent(path: String): Elements = + renderedContent(path).select("div.sourceset-dependent-content") val Element.brief: String get() = children().select("p").text() diff --git a/plugins/base/src/test/kotlin/signatures/DivergentSignatureTest.kt b/plugins/base/src/test/kotlin/signatures/DivergentSignatureTest.kt index f03103d8..ca287216 100644 --- a/plugins/base/src/test/kotlin/signatures/DivergentSignatureTest.kt +++ b/plugins/base/src/test/kotlin/signatures/DivergentSignatureTest.kt @@ -15,7 +15,7 @@ class DivergentSignatureTest : AbstractRenderingTest() { pluginOverrides = listOf(writerPlugin) ) { renderingStage = { _, _ -> - val content = writerPlugin.renderedSourceDepenentContent("example/example/-clock/get-time.html") + val content = writerPlugin.renderedSourceDependentContent("example/example/-clock/get-time.html") assert(content.count() == 3) val sourceSets = listOf("example/common", "example/js", "example/jvm") @@ -36,7 +36,7 @@ class DivergentSignatureTest : AbstractRenderingTest() { pluginOverrides = listOf(writerPlugin) ) { renderingStage = { _, _ -> - val content = writerPlugin.renderedSourceDepenentContent("example/example/-clock/get-times-in-millis.html") + val content = writerPlugin.renderedSourceDependentContent("example/example/-clock/get-times-in-millis.html") assert(content.count() == 3) assert(content.select("[data-togglable=example/common]").single().brief == "Time in minis") @@ -56,7 +56,7 @@ class DivergentSignatureTest : AbstractRenderingTest() { pluginOverrides = listOf(writerPlugin) ) { renderingStage = { _, _ -> - val content = writerPlugin.renderedSourceDepenentContent("example/example/-clock/get-year.html") + val content = writerPlugin.renderedSourceDependentContent("example/example/-clock/get-year.html") assert(content.count() == 3) assert(content.select("[data-togglable=example/jvm]").single().brief == "JVM custom kdoc") assert(content.select("[data-togglable=example/js]").single().brief == "JS custom kdoc") diff --git a/plugins/base/src/test/kotlin/signatures/RawHtmlRenderingTest.kt b/plugins/base/src/test/kotlin/signatures/RawHtmlRenderingTest.kt index 4ac21c59..38c70cd4 100644 --- a/plugins/base/src/test/kotlin/signatures/RawHtmlRenderingTest.kt +++ b/plugins/base/src/test/kotlin/signatures/RawHtmlRenderingTest.kt @@ -16,7 +16,7 @@ class RawHtmlRenderingTest: AbstractRenderingTest() { pluginOverrides = listOf(writerPlugin) ) { renderingStage = { _, _ -> - val content = writerPlugin.renderedSourceDepenentContent("example/example/-html-test/test.html") + val content = writerPlugin.renderedSourceDependentContent("example/example/-html-test/test.html") assert(content.count() == 1) assertEquals(content.select("[data-togglable=example/jvm]").single().rawBrief,"This is an example <!-- not visible --> of html") @@ -53,7 +53,7 @@ class RawHtmlRenderingTest: AbstractRenderingTest() { pluginOverrides = listOf(writerPlugin) ) { renderingStage = { _, _ -> - val content = writerPlugin.renderedSourceDepenentContent("example/example/-html-test/test-p.html") + val content = writerPlugin.renderedSourceDependentContent("example/example/-html-test/test-p.html") assert(content.count() == 1) assertEquals(content.select("[data-togglable=example/jvm]").single().rawBrief, "This is an <b> documentation </b>") |