aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/base-test-utils
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-07-09 16:38:05 +0200
committerGitHub <noreply@github.com>2021-07-09 16:38:05 +0200
commitb616e2dde76b7424276b980785f08477815a52fd (patch)
treed282b2ae3ccb3a422270a07397507fb8c508ed84 /plugins/base/base-test-utils
parentfdf5eda3d22ef96f6760cdf80c2ca4d206dc396c (diff)
downloaddokka-b616e2dde76b7424276b980785f08477815a52fd.tar.gz
dokka-b616e2dde76b7424276b980785f08477815a52fd.tar.bz2
dokka-b616e2dde76b7424276b980785f08477815a52fd.zip
Add missing text styles in html (#2007)
Diffstat (limited to 'plugins/base/base-test-utils')
-rw-r--r--plugins/base/base-test-utils/api/base-test-utils.api12
-rw-r--r--plugins/base/base-test-utils/src/main/kotlin/renderers/JsoupUtils.kt3
2 files changed, 15 insertions, 0 deletions
diff --git a/plugins/base/base-test-utils/api/base-test-utils.api b/plugins/base/base-test-utils/api/base-test-utils.api
index 23ea2ea5..b5a9ef2f 100644
--- a/plugins/base/base-test-utils/api/base-test-utils.api
+++ b/plugins/base/base-test-utils/api/base-test-utils.api
@@ -100,10 +100,18 @@ public final class utils/AssertHtmlEqualsIgnoringWhitespaceKt {
public static final fun assertHtmlEqualsIgnoringWhitespace (Ljava/lang/String;Ljava/lang/String;)V
}
+public final class utils/B : utils/Tag {
+ public fun <init> ([Ljava/lang/Object;)V
+}
+
public final class utils/Div : utils/Tag {
public fun <init> ([Ljava/lang/Object;)V
}
+public final class utils/I : utils/Tag {
+ public fun <init> ([Ljava/lang/Object;)V
+}
+
public final class utils/JsoupUtilsKt {
public static final fun match (Lorg/jsoup/nodes/Element;[Ljava/lang/Object;)V
}
@@ -112,6 +120,10 @@ public final class utils/P : utils/Tag {
public fun <init> ([Ljava/lang/Object;)V
}
+public final class utils/STRIKE : utils/Tag {
+ public fun <init> ([Ljava/lang/Object;)V
+}
+
public final class utils/Span : utils/Tag {
public fun <init> ([Ljava/lang/Object;)V
}
diff --git a/plugins/base/base-test-utils/src/main/kotlin/renderers/JsoupUtils.kt b/plugins/base/base-test-utils/src/main/kotlin/renderers/JsoupUtils.kt
index e8c7838d..ea2d13a7 100644
--- a/plugins/base/base-test-utils/src/main/kotlin/renderers/JsoupUtils.kt
+++ b/plugins/base/base-test-utils/src/main/kotlin/renderers/JsoupUtils.kt
@@ -16,6 +16,9 @@ class Div(vararg matchers: Any) : Tag("div", *matchers)
class P(vararg matchers: Any) : Tag("p", *matchers)
class Span(vararg matchers: Any) : Tag("span", *matchers)
class A(vararg matchers: Any) : Tag("a", *matchers)
+class B(vararg matchers: Any) : Tag("b", *matchers)
+class I(vararg matchers: Any) : Tag("i", *matchers)
+class STRIKE(vararg matchers: Any) : Tag("strike", *matchers)
object Wbr : Tag("wbr")
private fun Any.accepts(n: Node) {
when (this) {