aboutsummaryrefslogtreecommitdiff
path: root/plugins/javadoc/src/test
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-07-14 19:17:49 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-15 15:51:43 +0200
commitc5b233aca9c81792b6313dc45dd5055cbb24901a (patch)
tree94653853228f9212ac35cdde864e708d487559b7 /plugins/javadoc/src/test
parent868ea24ccc2fad58b6155190ab2ed4766d09b6ed (diff)
downloaddokka-c5b233aca9c81792b6313dc45dd5055cbb24901a.tar.gz
dokka-c5b233aca9c81792b6313dc45dd5055cbb24901a.tar.bz2
dokka-c5b233aca9c81792b6313dc45dd5055cbb24901a.zip
Fix table rendering with JDK12 stylesheets
Diffstat (limited to 'plugins/javadoc/src/test')
-rw-r--r--plugins/javadoc/src/test/kotlin/javadoc/JavadocPackageTemplateMapTest.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/javadoc/src/test/kotlin/javadoc/JavadocPackageTemplateMapTest.kt b/plugins/javadoc/src/test/kotlin/javadoc/JavadocPackageTemplateMapTest.kt
index a1b99ba0..e0ef030e 100644
--- a/plugins/javadoc/src/test/kotlin/javadoc/JavadocPackageTemplateMapTest.kt
+++ b/plugins/javadoc/src/test/kotlin/javadoc/JavadocPackageTemplateMapTest.kt
@@ -28,7 +28,7 @@ internal class JavadocPackageTemplateMapTest : AbstractJavadocTemplateMapTest()
"""
) {
val map = singlePageOfType<JavadocPackagePageNode>().templateMap
- assertEquals("Classes", ((map["lists"] as List<*>).first() as Map<String, *>)["tabTitle"])
+ assertEquals("Class Summary", ((map["lists"] as List<*>).first() as Map<String, *>)["tabTitle"])
assertEquals("Class", ((map["lists"] as List<*>).first() as Map<String, *>)["colTitle"])
assertEquals("com.test.package0", map["title"])
assertEquals("", map["subtitle"])
@@ -69,7 +69,7 @@ internal class JavadocPackageTemplateMapTest : AbstractJavadocTemplateMapTest()
val packagePages = allPagesOfType<JavadocPackagePageNode>()
packagePages.forEach { page ->
val map = page.templateMap
- assertEquals("Classes", ((map["lists"] as List<*>).first() as Map<String, *>)["tabTitle"])
+ assertEquals("Class Summary", ((map["lists"] as List<*>).first() as Map<String, *>)["tabTitle"])
assertEquals("Class", ((map["lists"] as List<*>).first() as Map<String, *>)["colTitle"])
assertEquals("", map["subtitle"])
assertEquals("package", map["kind"])