diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-20 19:19:12 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-20 19:19:12 +0100 |
commit | ce4b3b663f1f0bb40f87f288e210e01ffe93e52a (patch) | |
tree | 02145a841b9a9b3e2bcf9bef623a09de52288c84 /test | |
parent | 649217db5c05dbb466371870a2761f9c32b086f0 (diff) | |
download | dokka-ce4b3b663f1f0bb40f87f288e210e01ffe93e52a.tar.gz dokka-ce4b3b663f1f0bb40f87f288e210e01ffe93e52a.tar.bz2 dokka-ce4b3b663f1f0bb40f87f288e210e01ffe93e52a.zip |
test that we're linking type names in parameters and return values
Diffstat (limited to 'test')
-rw-r--r-- | test/data/format/javaSupertype.html | 13 | ||||
-rw-r--r-- | test/data/format/javaSupertype.java | 1 |
2 files changed, 13 insertions, 1 deletions
diff --git a/test/data/format/javaSupertype.html b/test/data/format/javaSupertype.html index bf56936c..f49a6e0f 100644 --- a/test/data/format/javaSupertype.html +++ b/test/data/format/javaSupertype.html @@ -3,11 +3,22 @@ <title>test / test.C.Bar</title> </HEAD> <BODY> -<a href="test/index">test</a> / <a href="test/test/index">test</a> / <a href="test/test/-c/index">C</a> / <a href="test/test/-c/-bar">Bar</a><br/> +<a href="test/index">test</a> / <a href="test/test/index">test</a> / <a href="test/test/-c/index">C</a> / <a href="test/test/-c/-bar/index">Bar</a><br/> <br/> <h1>Bar</h1> <code><span class="keyword">public</span> <span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Bar</span><span class="symbol"> : </span><a href="test/test/-c/-foo"><span class="identifier">Foo</span></a></code><br/> <br/> <br/> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<a href="test/test/-c/-bar/return-foo">returnFoo</a></td> +<td> +<code><span class="keyword">public</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">returnFoo</span><span class="symbol">(</span><span class="identifier">foo</span><span class="symbol">: </span><a href="test/test/-c/-foo"><span class="identifier">Foo</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="test/test/-c/-foo"><span class="identifier">Foo</span></a></code></td> +</tr> +</tbody> +</table> </BODY> </HTML> diff --git a/test/data/format/javaSupertype.java b/test/data/format/javaSupertype.java index 96caeb1d..295c319f 100644 --- a/test/data/format/javaSupertype.java +++ b/test/data/format/javaSupertype.java @@ -5,5 +5,6 @@ class C { } public static class Bar extends Foo { + public Foo returnFoo(Foo foo) { return foo; } } } |