aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test
diff options
context:
space:
mode:
authorFelix Dombek <felics_dombek@hotmail.com>2022-08-03 16:20:31 +0200
committerGitHub <noreply@github.com>2022-08-03 16:20:31 +0200
commit8356b56cbc2b76f10753e4758dbc32cba5bddf71 (patch)
tree497580acec1203e5086709f3848db19bfd945b6c /plugins/base/src/test
parent256740ae75f30be7bd4f326b380f8ef2efd5d53c (diff)
downloaddokka-8356b56cbc2b76f10753e4758dbc32cba5bddf71.tar.gz
dokka-8356b56cbc2b76f10753e4758dbc32cba5bddf71.tar.bz2
dokka-8356b56cbc2b76f10753e4758dbc32cba5bddf71.zip
Fix spelling error 'depenent' (#2594)
Co-authored-by: Felix Dombek <Felix.Dombek@tomtom.com>
Diffstat (limited to 'plugins/base/src/test')
-rw-r--r--plugins/base/src/test/kotlin/signatures/AbstractRenderingTest.kt4
-rw-r--r--plugins/base/src/test/kotlin/signatures/DivergentSignatureTest.kt6
-rw-r--r--plugins/base/src/test/kotlin/signatures/RawHtmlRenderingTest.kt4
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>")