aboutsummaryrefslogtreecommitdiff
path: root/test/src/format
diff options
context:
space:
mode:
authorDmitry Jemerov <intelliyole@gmail.com>2015-01-14 14:01:20 +0100
committerDmitry Jemerov <intelliyole@gmail.com>2015-01-14 14:01:20 +0100
commit60e610ebdd86663bedf113d2235ac3c8364171d0 (patch)
tree0804f2730bd7da28cfb063f1b00fb4cc1773c4f9 /test/src/format
parentcd21e1fea43c0b7fa8013e3db7f49fe2b600b7f8 (diff)
parent0dd5ea3c1492b15bd386ec5c2c8d6e467a8f72a9 (diff)
downloaddokka-60e610ebdd86663bedf113d2235ac3c8364171d0.tar.gz
dokka-60e610ebdd86663bedf113d2235ac3c8364171d0.tar.bz2
dokka-60e610ebdd86663bedf113d2235ac3c8364171d0.zip
Merge pull request #14 from orangy/override-link
link overriding functions to the corresponding base class functions
Diffstat (limited to 'test/src/format')
-rw-r--r--test/src/format/MarkdownFormatTest.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/src/format/MarkdownFormatTest.kt b/test/src/format/MarkdownFormatTest.kt
index f7fc6da0..580acd7c 100644
--- a/test/src/format/MarkdownFormatTest.kt
+++ b/test/src/format/MarkdownFormatTest.kt
@@ -61,4 +61,12 @@ public class MarkdownFormatTest {
markdownService.appendNodes(tempLocation, output, model.members.single().members)
}
}
+
+ Test fun overridingFunction() {
+ verifyOutput("test/data/format/overridingFunction.kt", ".md") { model, output ->
+ val classMembers = model.members.single().members.first { it.name == "D" }.members
+ markdownService.appendNodes(tempLocation, output, classMembers.filter { it.name == "f" })
+ }
+
+ }
}