aboutsummaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
Diffstat (limited to 'test/data')
-rw-r--r--test/data/format/javaDeprecated.html14
-rw-r--r--test/data/format/javaDeprecated.java7
-rw-r--r--test/data/format/javaLinkTag.html2
3 files changed, 22 insertions, 1 deletions
diff --git a/test/data/format/javaDeprecated.html b/test/data/format/javaDeprecated.html
new file mode 100644
index 00000000..aaeed534
--- /dev/null
+++ b/test/data/format/javaDeprecated.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<title>test / test.Foo.foo</title>
+</HEAD>
+<BODY>
+<a href="test/index">test</a>&nbsp;/&nbsp;<a href="test/test/index">test</a>&nbsp;/&nbsp;<a href="test/test/-foo/index">Foo</a>&nbsp;/&nbsp;<a href="test/test/-foo/foo">foo</a><br/>
+<br/>
+<h1>foo</h1>
+<code><span class="keyword">public</span> <span class="keyword">open</span> <span class="keyword">fun </span><s><span class="identifier">foo</span></s><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
+<strong>Deprecated: </strong>use<a href="test/test/-foo/bar">#bar</a> instead <p></p>
+<br/>
+<br/>
+</BODY>
+</HTML>
diff --git a/test/data/format/javaDeprecated.java b/test/data/format/javaDeprecated.java
new file mode 100644
index 00000000..4216f205
--- /dev/null
+++ b/test/data/format/javaDeprecated.java
@@ -0,0 +1,7 @@
+package test;
+
+class Foo {
+ /** @deprecated use {@link #bar} instead */
+ public void foo() {}
+ public void bar() {}
+}
diff --git a/test/data/format/javaLinkTag.html b/test/data/format/javaLinkTag.html
index 65d33283..b5f03ef3 100644
--- a/test/data/format/javaLinkTag.html
+++ b/test/data/format/javaLinkTag.html
@@ -7,7 +7,7 @@
<br/>
<h1>Foo</h1>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Foo</span><span class="symbol"> : </span><span class="identifier">Any</span></code><br/>
-<p>Call <a href="test/test/-foo/bar"></a> to do the job.
+<p>Call <a href="test/test/-foo/bar">#bar()</a> to do the job.
</p>
<br/>
<br/>