aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format
diff options
context:
space:
mode:
Diffstat (limited to 'core/testdata/format')
-rw-r--r--core/testdata/format/exceptionClass.md2
-rw-r--r--core/testdata/format/exceptionClass.package.md2
-rw-r--r--core/testdata/format/jdkLinks.kt5
-rw-r--r--core/testdata/format/jdkLinks.md20
-rw-r--r--core/testdata/format/multipleTypeParameterConstraints.md2
5 files changed, 28 insertions, 3 deletions
diff --git a/core/testdata/format/exceptionClass.md b/core/testdata/format/exceptionClass.md
index 97160d1c..b3464d6f 100644
--- a/core/testdata/format/exceptionClass.md
+++ b/core/testdata/format/exceptionClass.md
@@ -3,7 +3,7 @@
# MyException
-`class MyException : Exception`
+`class MyException : [Exception](http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html)`
diff --git a/core/testdata/format/exceptionClass.package.md b/core/testdata/format/exceptionClass.package.md
index 608aa8ed..fa220fe7 100644
--- a/core/testdata/format/exceptionClass.package.md
+++ b/core/testdata/format/exceptionClass.package.md
@@ -7,5 +7,5 @@
### Exceptions
-| [MyException](test/-my-exception/index) | `class MyException : Exception` |
+| [MyException](test/-my-exception/index) | `class MyException : [Exception](http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html)` |
diff --git a/core/testdata/format/jdkLinks.kt b/core/testdata/format/jdkLinks.kt
new file mode 100644
index 00000000..d5d719b0
--- /dev/null
+++ b/core/testdata/format/jdkLinks.kt
@@ -0,0 +1,5 @@
+/**
+ * This is a [ClassLoader] and I can get its [ClassLoader.getResource]
+ */
+class C : ClassLoader {
+}
diff --git a/core/testdata/format/jdkLinks.md b/core/testdata/format/jdkLinks.md
new file mode 100644
index 00000000..4f0344b5
--- /dev/null
+++ b/core/testdata/format/jdkLinks.md
@@ -0,0 +1,20 @@
+[test](test/index) / [C](test/-c/index)
+
+
+# C
+
+`class C : [ClassLoader](http://docs.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html)`
+
+This is a [ClassLoader](http://docs.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html) and I can get its [ClassLoader.getResource](http://docs.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html#getResource(java.lang.String))
+
+
+
+
+### Constructors
+
+
+| [<init>](test/-c/-init-) | `C()`
+This is a [ClassLoader](http://docs.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html) and I can get its [ClassLoader.getResource](http://docs.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html#getResource(java.lang.String))
+
+ |
+
diff --git a/core/testdata/format/multipleTypeParameterConstraints.md b/core/testdata/format/multipleTypeParameterConstraints.md
index d6b4e853..537b127a 100644
--- a/core/testdata/format/multipleTypeParameterConstraints.md
+++ b/core/testdata/format/multipleTypeParameterConstraints.md
@@ -3,6 +3,6 @@
# f
-`fun <T> f(): Unit where T : Appendable, T : CharSequence`
+`fun <T> f(): Unit where T : [Appendable](http://docs.oracle.com/javase/6/docs/api/java/lang/Appendable.html), T : CharSequence`