aboutsummaryrefslogtreecommitdiff
path: root/test/data/format
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-01-14 20:02:02 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-01-14 20:02:02 +0100
commit03d942bb95cf1064488ba2c14d9455c19f9c922e (patch)
tree74d1247a4bc236e5eac27e3462d85ad772ee2877 /test/data/format
parent60e610ebdd86663bedf113d2235ac3c8364171d0 (diff)
downloaddokka-03d942bb95cf1064488ba2c14d9455c19f9c922e.tar.gz
dokka-03d942bb95cf1064488ba2c14d9455c19f9c922e.tar.bz2
dokka-03d942bb95cf1064488ba2c14d9455c19f9c922e.zip
show signatures for accessors
Diffstat (limited to 'test/data/format')
-rw-r--r--test/data/format/accessor.get.md12
-rw-r--r--test/data/format/accessor.kt5
-rw-r--r--test/data/format/accessor.set.md12
-rw-r--r--test/data/format/deprecated.class.html2
4 files changed, 30 insertions, 1 deletions
diff --git a/test/data/format/accessor.get.md b/test/data/format/accessor.get.md
new file mode 100644
index 00000000..b4da2a03
--- /dev/null
+++ b/test/data/format/accessor.get.md
@@ -0,0 +1,12 @@
+[test](out.md) / [](out.md) / [C](out.md) / [x](out.md) / [get](out.md)
+
+
+# get
+
+
+```
+get(): String
+```
+
+
+
diff --git a/test/data/format/accessor.kt b/test/data/format/accessor.kt
new file mode 100644
index 00000000..b6ed9624
--- /dev/null
+++ b/test/data/format/accessor.kt
@@ -0,0 +1,5 @@
+class C() {
+ var x: String
+ get() = ""
+ set(value) { }
+}
diff --git a/test/data/format/accessor.set.md b/test/data/format/accessor.set.md
new file mode 100644
index 00000000..8b9db263
--- /dev/null
+++ b/test/data/format/accessor.set.md
@@ -0,0 +1,12 @@
+[test](out.md) / [](out.md) / [C](out.md) / [x](out.md) / [set](out.md)
+
+
+# set
+
+
+```
+set(value: String)
+```
+
+
+
diff --git a/test/data/format/deprecated.class.html b/test/data/format/deprecated.class.html
index 87599082..1442026c 100644
--- a/test/data/format/deprecated.class.html
+++ b/test/data/format/deprecated.class.html
@@ -38,7 +38,7 @@
<td>
<a href="out.html">get</a></td>
<td>
-<code></code></td>
+<code><span class="identifier">get</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></td>
</tr>
</tbody>
</table>