aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/renderers/html/DivergentTest.kt
diff options
context:
space:
mode:
authorMarcin Aman <maman@virtuslab.com>2020-09-03 10:24:44 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-09-07 08:07:10 +0200
commit495c64c64db5d7ebc44a7262e5bdeb7cc3a54f9c (patch)
tree41cad978990b52f84906e1effb87d472ce2c784c /plugins/base/src/test/kotlin/renderers/html/DivergentTest.kt
parent581d064dc1fba01fd27f560e158df48498c7e776 (diff)
downloaddokka-495c64c64db5d7ebc44a7262e5bdeb7cc3a54f9c.tar.gz
dokka-495c64c64db5d7ebc44a7262e5bdeb7cc3a54f9c.tar.bz2
dokka-495c64c64db5d7ebc44a7262e5bdeb7cc3a54f9c.zip
Test images in GFM
Diffstat (limited to 'plugins/base/src/test/kotlin/renderers/html/DivergentTest.kt')
-rw-r--r--plugins/base/src/test/kotlin/renderers/html/DivergentTest.kt22
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/base/src/test/kotlin/renderers/html/DivergentTest.kt b/plugins/base/src/test/kotlin/renderers/html/DivergentTest.kt
index b4de5aed..ad0d421e 100644
--- a/plugins/base/src/test/kotlin/renderers/html/DivergentTest.kt
+++ b/plugins/base/src/test/kotlin/renderers/html/DivergentTest.kt
@@ -4,7 +4,7 @@ import org.jetbrains.dokka.base.renderers.html.HtmlRenderer
import org.jetbrains.dokka.links.DRI
import org.jetbrains.dokka.pages.ContentDivergentGroup
import org.junit.jupiter.api.Test
-import renderers.TestPage
+import renderers.testPage
import utils.Div
import utils.Span
import utils.match
@@ -13,7 +13,7 @@ class DivergentTest : HtmlRenderingOnlyTestBase() {
@Test
fun simpleWrappingCase() {
- val page = TestPage {
+ val page = testPage {
divergentGroup(ContentDivergentGroup.GroupID("test")) {
instance(setOf(DRI("test", "Test")), setOf(js)) {
divergent {
@@ -28,7 +28,7 @@ class DivergentTest : HtmlRenderingOnlyTestBase() {
@Test
fun noPlatformHintCase() {
- val page = TestPage {
+ val page = testPage {
divergentGroup(ContentDivergentGroup.GroupID("test"), implicitlySourceSetHinted = false) {
instance(setOf(DRI("test", "Test")), setOf(js)) {
divergent {
@@ -43,7 +43,7 @@ class DivergentTest : HtmlRenderingOnlyTestBase() {
@Test
fun divergentBetweenSourceSets() {
- val page = TestPage {
+ val page = testPage {
divergentGroup(ContentDivergentGroup.GroupID("test")) {
instance(setOf(DRI("test", "Test")), setOf(js)) {
divergent {
@@ -69,7 +69,7 @@ class DivergentTest : HtmlRenderingOnlyTestBase() {
@Test
fun divergentInOneSourceSet() {
- val page = TestPage {
+ val page = testPage {
divergentGroup(ContentDivergentGroup.GroupID("test")) {
instance(setOf(DRI("test", "Test")), setOf(js)) {
divergent {
@@ -95,7 +95,7 @@ class DivergentTest : HtmlRenderingOnlyTestBase() {
@Test
fun divergentInAndBetweenSourceSets() {
- val page = TestPage {
+ val page = testPage {
divergentGroup(ContentDivergentGroup.GroupID("test")) {
instance(setOf(DRI("test", "Test")), setOf(native)) {
divergent {
@@ -131,7 +131,7 @@ class DivergentTest : HtmlRenderingOnlyTestBase() {
@Test
fun divergentInAndBetweenSourceSetsWithGrouping() {
- val page = TestPage {
+ val page = testPage {
divergentGroup(ContentDivergentGroup.GroupID("test")) {
instance(setOf(DRI("test", "Test")), setOf(native)) {
divergent {
@@ -184,7 +184,7 @@ class DivergentTest : HtmlRenderingOnlyTestBase() {
@Test
fun divergentSameBefore() {
- val page = TestPage {
+ val page = testPage {
divergentGroup(ContentDivergentGroup.GroupID("test")) {
instance(setOf(DRI("test", "Test")), setOf(native)) {
before {
@@ -219,7 +219,7 @@ class DivergentTest : HtmlRenderingOnlyTestBase() {
@Test
fun divergentSameAfter() {
- val page = TestPage {
+ val page = testPage {
divergentGroup(ContentDivergentGroup.GroupID("test")) {
instance(setOf(DRI("test", "Test")), setOf(native)) {
divergent {
@@ -251,7 +251,7 @@ class DivergentTest : HtmlRenderingOnlyTestBase() {
@Test
fun divergentGroupedByBeforeAndAfter() {
- val page = TestPage {
+ val page = testPage {
divergentGroup(ContentDivergentGroup.GroupID("test")) {
instance(setOf(DRI("test", "Test")), setOf(native)) {
before {
@@ -290,7 +290,7 @@ class DivergentTest : HtmlRenderingOnlyTestBase() {
@Test
fun divergentDifferentBeforeAndAfter() {
- val page = TestPage {
+ val page = testPage {
divergentGroup(ContentDivergentGroup.GroupID("test")) {
instance(setOf(DRI("test", "Test")), setOf(native)) {
before {