diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-27 17:30:04 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-27 17:30:04 +0100 |
commit | 63faa143fbc841d0e21a9903c51b3d9ab0216b92 (patch) | |
tree | ca1b87cd6d3fa650afb07181d7a458ca60dc0192 /test | |
parent | 78a8fb9ff108386ce39cb8935ef3d9a4f92df426 (diff) | |
download | dokka-63faa143fbc841d0e21a9903c51b3d9ab0216b92.tar.gz dokka-63faa143fbc841d0e21a9903c51b3d9ab0216b92.tar.bz2 dokka-63faa143fbc841d0e21a9903c51b3d9ab0216b92.zip |
process inline doc tags in values of block tags
Diffstat (limited to 'test')
-rw-r--r-- | test/data/format/javaCodeInParam.java | 7 | ||||
-rw-r--r-- | test/data/format/javaCodeInParam.md | 15 | ||||
-rw-r--r-- | test/src/format/MarkdownFormatTest.kt | 6 |
3 files changed, 28 insertions, 0 deletions
diff --git a/test/data/format/javaCodeInParam.java b/test/data/format/javaCodeInParam.java new file mode 100644 index 00000000..d1cdf6cd --- /dev/null +++ b/test/data/format/javaCodeInParam.java @@ -0,0 +1,7 @@ +package test; + +/** + * @param T this is {@code some code} and other text + */ +class C<T> { +} diff --git a/test/data/format/javaCodeInParam.md b/test/data/format/javaCodeInParam.md new file mode 100644 index 00000000..ef54eb6b --- /dev/null +++ b/test/data/format/javaCodeInParam.md @@ -0,0 +1,15 @@ +[test](test/index) / [test](test/test/index) / [C](test/test/-c) + + +# C + +`open class C<T> ` + + + + +### Parameters + +`T` - this is `some code` and other text + + diff --git a/test/src/format/MarkdownFormatTest.kt b/test/src/format/MarkdownFormatTest.kt index 2ee4fa46..49d2ec1b 100644 --- a/test/src/format/MarkdownFormatTest.kt +++ b/test/src/format/MarkdownFormatTest.kt @@ -130,4 +130,10 @@ public class MarkdownFormatTest { markdownService.appendNodes(tempLocation, output, model.members.single().members) } } + + Test fun javaCodeInParam() { + verifyOutput("test/data/format/javaCodeInParam.java", ".md") { model, output -> + markdownService.appendNodes(tempLocation, output, model.members.single().members) + } + } } |