aboutsummaryrefslogtreecommitdiff
path: root/test/src
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-03-03 19:51:43 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-03-03 19:51:43 +0100
commitf3973480c0b03c9f28f05b5a4cf61bf3de3597bd (patch)
tree54fd4c5b7d30d2daf969c216936663335d1634fd /test/src
parent6659337410225b813ea902bfa4b2e5ba3c2c1aaa (diff)
downloaddokka-f3973480c0b03c9f28f05b5a4cf61bf3de3597bd.tar.gz
dokka-f3973480c0b03c9f28f05b5a4cf61bf3de3597bd.tar.bz2
dokka-f3973480c0b03c9f28f05b5a4cf61bf3de3597bd.zip
support links with custom labels
Diffstat (limited to 'test/src')
-rw-r--r--test/src/format/HtmlFormatTest.kt12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/src/format/HtmlFormatTest.kt b/test/src/format/HtmlFormatTest.kt
index 66eefe93..f8afab8f 100644
--- a/test/src/format/HtmlFormatTest.kt
+++ b/test/src/format/HtmlFormatTest.kt
@@ -106,6 +106,12 @@ public class HtmlFormatTest {
}
}
+ Test fun javaLinkTagWithLabel() {
+ verifyOutput("test/data/format/javaLinkTagWithLabel.java", ".html") { model, output ->
+ htmlService.appendNodes(tempLocation, output, model.members.single().members)
+ }
+ }
+
Test fun javaSeeTag() {
verifyOutput("test/data/format/javaSeeTag.java", ".html") { model, output ->
htmlService.appendNodes(tempLocation, output, model.members.single().members)
@@ -129,4 +135,10 @@ public class HtmlFormatTest {
htmlService.appendNodes(tempLocation, output, model.members.single().members.filter { it.name == "Bar" })
}
}
+
+ Test fun linkWithLabel() {
+ verifyOutput("test/data/format/linkWithLabel.kt", ".html") { model, output ->
+ htmlService.appendNodes(tempLocation, output, model.members.single().members.filter { it.name == "Bar" })
+ }
+ }
}