aboutsummaryrefslogtreecommitdiff
path: root/plugins/javadoc
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-07-27 23:42:07 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-19 13:34:10 +0200
commitb12d8878aa072e3c71f2a9204040da6bfa3e5a11 (patch)
tree8f04c239bd3028ca096c7c106aa4cb0e188c1c6d /plugins/javadoc
parentfc38ceda06d92978175d37bb7197763539c966a2 (diff)
downloaddokka-b12d8878aa072e3c71f2a9204040da6bfa3e5a11.tar.gz
dokka-b12d8878aa072e3c71f2a9204040da6bfa3e5a11.tar.bz2
dokka-b12d8878aa072e3c71f2a9204040da6bfa3e5a11.zip
Fix tests containing unresolved links
Diffstat (limited to 'plugins/javadoc')
-rw-r--r--plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt
index 463ad7fd..1e161666 100644
--- a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt
+++ b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt
@@ -93,7 +93,7 @@ internal class JavadocClasslikeTemplateMapTest : AbstractJavadocTemplateMapTest(
0, assertIsInstance<List<*>>(method["parameters"]).size,
"Expected no parameters"
)
- assertEquals("final <a href=.html>String</a>", method.modifiers())
+ assertEquals("final String", method.modifiers())
assertEquals("<a href=TestClass.html#testFunction()>testFunction</a>()", method.signatureWithoutModifiers())
}
}
@@ -257,19 +257,19 @@ internal class JavadocClasslikeTemplateMapTest : AbstractJavadocTemplateMapTest(
assertParameterNode(
node = first,
expectedName = "simple",
- expectedType = "<a href=.html>String</a>",
+ expectedType = "String",
expectedDescription = "simple String parameter"
)
assertParameterNode(
node = second,
expectedName = "parameters",
- expectedType = "<a href=.html>Integer</a>",
+ expectedType = "Integer",
expectedDescription = "simple Integer parameter"
)
assertParameterNode(
node = third,
expectedName = "list",
- expectedType = "<a href=.html>Boolean</a>",
+ expectedType = "Boolean",
expectedDescription = "simple Boolean parameter"
)
}
@@ -305,7 +305,7 @@ internal class JavadocClasslikeTemplateMapTest : AbstractJavadocTemplateMapTest(
assertEquals("Generic", map["name"])
assertEquals(
- "public final class <a href=Generic.html>Generic</a>&lt;T extends <a href=.html>Serializable</a>&gt;",
+ "public final class <a href=Generic.html>Generic</a>&lt;T extends Serializable&gt;",
map.signatureWithModifiers()
)
val methods = assertIsInstance<Map<Any, Any?>>(map["methods"])