diff options
Diffstat (limited to 'test/data/format')
115 files changed, 0 insertions, 1549 deletions
diff --git a/test/data/format/accessor.kt b/test/data/format/accessor.kt deleted file mode 100644 index 5a4d1742..00000000 --- a/test/data/format/accessor.kt +++ /dev/null @@ -1,5 +0,0 @@ -class C() { - var x: String - /** The getter returns an empty string. */ get() = "" - /** The setter does nothing. */ set(value) { } -} diff --git a/test/data/format/accessor.md b/test/data/format/accessor.md deleted file mode 100644 index 8279f452..00000000 --- a/test/data/format/accessor.md +++ /dev/null @@ -1,18 +0,0 @@ -[test](test/index) / [C](test/-c/index) / [x](test/-c/x) - - -# x - -`var x: String` -**Getter** - -The getter returns an empty string. - - -**Setter** - -The setter does nothing. - - - - diff --git a/test/data/format/annotatedTypeParameter.kt b/test/data/format/annotatedTypeParameter.kt deleted file mode 100644 index cc3bfc1a..00000000 --- a/test/data/format/annotatedTypeParameter.kt +++ /dev/null @@ -1,2 +0,0 @@ -public fun <E> containsAll(elements: Collection<@UnsafeVariance E>): @UnsafeVariance E { -} diff --git a/test/data/format/annotatedTypeParameter.md b/test/data/format/annotatedTypeParameter.md deleted file mode 100644 index 7d26a162..00000000 --- a/test/data/format/annotatedTypeParameter.md +++ /dev/null @@ -1,8 +0,0 @@ -[test](test/index) / [containsAll](test/contains-all) - - -# containsAll - -`fun <E> containsAll(elements: Collection<@UnsafeVariance E>): @UnsafeVariance E` - - diff --git a/test/data/format/annotationClass.kt b/test/data/format/annotationClass.kt deleted file mode 100644 index 89d494fb..00000000 --- a/test/data/format/annotationClass.kt +++ /dev/null @@ -1 +0,0 @@ -annotation class fancy diff --git a/test/data/format/annotationClass.md b/test/data/format/annotationClass.md deleted file mode 100644 index 03548aa3..00000000 --- a/test/data/format/annotationClass.md +++ /dev/null @@ -1,14 +0,0 @@ -[test](test/index) / [fancy](test/fancy/index) - - -# fancy - -`annotation class fancy` - - - -### Constructors - - -| [<init>](test/fancy/-init-) | `fancy()` | - diff --git a/test/data/format/annotationParams.kt b/test/data/format/annotationParams.kt deleted file mode 100644 index f259a740..00000000 --- a/test/data/format/annotationParams.kt +++ /dev/null @@ -1 +0,0 @@ -@JvmName("FFF") fun f() {} diff --git a/test/data/format/annotationParams.md b/test/data/format/annotationParams.md deleted file mode 100644 index 8cdd6e96..00000000 --- a/test/data/format/annotationParams.md +++ /dev/null @@ -1,8 +0,0 @@ -[test](test/index) / [f](test/f) - - -# f - -`@JvmName("FFF") fun f(): Unit` - - diff --git a/test/data/format/annotations.kt b/test/data/format/annotations.kt deleted file mode 100644 index 57f76249..00000000 --- a/test/data/format/annotations.kt +++ /dev/null @@ -1,6 +0,0 @@ -data class Foo { - inline fun bar(noinline notInlined: () -> Unit) { - } - - inline val x: Int -} diff --git a/test/data/format/annotations.md b/test/data/format/annotations.md deleted file mode 100644 index b898d55c..00000000 --- a/test/data/format/annotations.md +++ /dev/null @@ -1,26 +0,0 @@ -[test](test/index) / [Foo](test/-foo/index) - - -# Foo - -`data class Foo` - - - -### Constructors - - -| [<init>](test/-foo/-init-) | `Foo()` | - - -### Properties - - -| [x](test/-foo/x) | `val x: Int` | - - -### Functions - - -| [bar](test/-foo/bar) | `fun bar(notInlined: () -> Unit): Unit` | - diff --git a/test/data/format/bracket.html b/test/data/format/bracket.html deleted file mode 100644 index 5630073d..00000000 --- a/test/data/format/bracket.html +++ /dev/null @@ -1,14 +0,0 @@ -<HTML> -<HEAD> -<title>test / foo</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/foo">foo</a><br/> -<br/> -<h1>foo</h1> -<code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/> -<p>bar[]</p> -<br/> -<br/> -</BODY> -</HTML> diff --git a/test/data/format/bracket.kt b/test/data/format/bracket.kt deleted file mode 100644 index d41b0073..00000000 --- a/test/data/format/bracket.kt +++ /dev/null @@ -1,4 +0,0 @@ -/** - * bar[] - */ -fun foo() {} diff --git a/test/data/format/brokenLink.html b/test/data/format/brokenLink.html deleted file mode 100644 index 32135787..00000000 --- a/test/data/format/brokenLink.html +++ /dev/null @@ -1,14 +0,0 @@ -<HTML> -<HEAD> -<title>test / f</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/f">f</a><br/> -<br/> -<h1>f</h1> -<code><span class="keyword">fun </span><span class="identifier">f</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/> -<p>This references <a href="#">noSuchIdentifier</a>.</p> -<br/> -<br/> -</BODY> -</HTML> diff --git a/test/data/format/brokenLink.kt b/test/data/format/brokenLink.kt deleted file mode 100644 index 268a986e..00000000 --- a/test/data/format/brokenLink.kt +++ /dev/null @@ -1,4 +0,0 @@ -/** - * This references [noSuchIdentifier]. - */ -fun f() { } diff --git a/test/data/format/classWithCompanionObject.html b/test/data/format/classWithCompanionObject.html deleted file mode 100644 index be9247ea..00000000 --- a/test/data/format/classWithCompanionObject.html +++ /dev/null @@ -1,46 +0,0 @@ -<HTML> -<HEAD> -<title>test / Klass</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/-klass/index">Klass</a><br/> -<br/> -<h1>Klass</h1> -<code><span class="keyword">class </span><span class="identifier">Klass</span></code><br/> -<br/> -<br/> -<h3>Constructors</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/-klass/-init-"><init></a></td> -<td> -<code><span class="identifier">Klass</span><span class="symbol">(</span><span class="symbol">)</span></code></td> -</tr> -</tbody> -</table> -<h3>Companion Object Properties</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/-klass/x">x</a></td> -<td> -<code><span class="keyword">val </span><span class="identifier">x</span><span class="symbol">: </span><span class="identifier">Int</span></code></td> -</tr> -</tbody> -</table> -<h3>Companion Object Functions</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/-klass/foo">foo</a></td> -<td> -<code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td> -</tr> -</tbody> -</table> -</BODY> -</HTML> diff --git a/test/data/format/classWithCompanionObject.kt b/test/data/format/classWithCompanionObject.kt deleted file mode 100644 index fdbd915d..00000000 --- a/test/data/format/classWithCompanionObject.kt +++ /dev/null @@ -1,7 +0,0 @@ -class Klass() { - companion object { - val x = 1 - - fun foo() {} - } -} diff --git a/test/data/format/classWithCompanionObject.md b/test/data/format/classWithCompanionObject.md deleted file mode 100644 index 9398c3d3..00000000 --- a/test/data/format/classWithCompanionObject.md +++ /dev/null @@ -1,26 +0,0 @@ -[test](test/index) / [Klass](test/-klass/index) - - -# Klass - -`class Klass` - - - -### Constructors - - -| [<init>](test/-klass/-init-) | `Klass()` | - - -### Companion Object Properties - - -| [x](test/-klass/x) | `val x: Int` | - - -### Companion Object Functions - - -| [foo](test/-klass/foo) | `fun foo(): Unit` | - diff --git a/test/data/format/codeSpan.html b/test/data/format/codeSpan.html deleted file mode 100644 index cc553043..00000000 --- a/test/data/format/codeSpan.html +++ /dev/null @@ -1,14 +0,0 @@ -<HTML> -<HEAD> -<title>test / foo</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/foo">foo</a><br/> -<br/> -<h1>foo</h1> -<code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/> -<p>This is a <code>code span</code>.</p> -<br/> -<br/> -</BODY> -</HTML> diff --git a/test/data/format/codeSpan.kt b/test/data/format/codeSpan.kt deleted file mode 100644 index 645f454a..00000000 --- a/test/data/format/codeSpan.kt +++ /dev/null @@ -1,4 +0,0 @@ -/** - * This is a `code span`. - */ -fun foo() {}
\ No newline at end of file diff --git a/test/data/format/companionObjectExtension.kt b/test/data/format/companionObjectExtension.kt deleted file mode 100644 index f452de2c..00000000 --- a/test/data/format/companionObjectExtension.kt +++ /dev/null @@ -1,10 +0,0 @@ -class Foo { - companion object Default { - } -} - - -/** - * The default object property. - */ -val Foo.Default.x: Int get() = 1 diff --git a/test/data/format/companionObjectExtension.md b/test/data/format/companionObjectExtension.md deleted file mode 100644 index 271da5b0..00000000 --- a/test/data/format/companionObjectExtension.md +++ /dev/null @@ -1,23 +0,0 @@ -[test](test/index) / [Foo](test/-foo/index) - - -# Foo - -`class Foo` - - - -### Constructors - - -| [<init>](test/-foo/-init-) | `Foo()` | - - -### Companion Object Extension Properties - - -| [x](test/x) | `val Foo.Default.x: Int` -The default object property. - - | - diff --git a/test/data/format/crossLanguage/kotlinExtendsJava/Bar.html b/test/data/format/crossLanguage/kotlinExtendsJava/Bar.html deleted file mode 100644 index e7b139d8..00000000 --- a/test/data/format/crossLanguage/kotlinExtendsJava/Bar.html +++ /dev/null @@ -1,37 +0,0 @@ -<HTML> -<HEAD> -<title>test / test.Bar</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/test/index">test</a> / <a href="test/test/-bar/index">Bar</a><br/> -<br/> -<h1>Bar</h1> -<code><span class="keyword">class </span><span class="identifier">Bar</span> <span class="symbol">:</span> <a href="test/test/-foo/index"><span class="identifier">Foo</span></a></code><br/> -<p>See <a href="test/test/-foo/xyzzy">xyzzy</a></p> -<br/> -<br/> -<h3>Constructors</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/test/-bar/-init-"><init></a></td> -<td> -<code><span class="identifier">Bar</span><span class="symbol">(</span><span class="symbol">)</span></code><p>See <a href="test/test/-foo/xyzzy">xyzzy</a></p> -</td> -</tr> -</tbody> -</table> -<h3>Inherited Functions</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/test/-foo/xyzzy">xyzzy</a></td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">xyzzy</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td> -</tr> -</tbody> -</table> -</BODY> -</HTML> diff --git a/test/data/format/crossLanguage/kotlinExtendsJava/Bar.kt b/test/data/format/crossLanguage/kotlinExtendsJava/Bar.kt deleted file mode 100644 index 102782f9..00000000 --- a/test/data/format/crossLanguage/kotlinExtendsJava/Bar.kt +++ /dev/null @@ -1,6 +0,0 @@ -package test - -/** - * See [xyzzy] - */ -class Bar(): Foo() diff --git a/test/data/format/crossLanguage/kotlinExtendsJava/test/Foo.java b/test/data/format/crossLanguage/kotlinExtendsJava/test/Foo.java deleted file mode 100644 index 7c143030..00000000 --- a/test/data/format/crossLanguage/kotlinExtendsJava/test/Foo.java +++ /dev/null @@ -1,6 +0,0 @@ -package test; - -public class Foo { - public void xyzzy() { - } -} diff --git a/test/data/format/deprecated.class.html b/test/data/format/deprecated.class.html deleted file mode 100644 index 69da63a1..00000000 --- a/test/data/format/deprecated.class.html +++ /dev/null @@ -1,41 +0,0 @@ -<HTML> -<HEAD> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/-c/index">C</a><br/> -<br/> -<h1>C</h1> -<code><span class="keyword">class </span><s><span class="identifier">C</span></s></code><br/> -<strong>Deprecated:</strong> This class sucks<br/> -<br/> -<br/> -<br/> -<a href="test/index">test</a> / <a href="test/f">f</a><br/> -<br/> -<h1>f</h1> -<code><span class="keyword">fun </span><s><span class="identifier">f</span></s><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/> -<strong>Deprecated:</strong> This function sucks<br/> -<br/> -<br/> -<br/> -<a href="test/index">test</a> / <a href="test/p">p</a><br/> -<br/> -<h1>p</h1> -<code><span class="keyword">val </span><s><span class="identifier">p</span></s><span class="symbol">: </span><span class="identifier">Int</span></code><br/> -<strong>Deprecated:</strong> This property sucks<br/> -<br/> -<br/> -<br/> -<h3>Constructors</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/-c/-init-"><init></a></td> -<td> -<code><span class="identifier">C</span><span class="symbol">(</span><span class="symbol">)</span></code></td> -</tr> -</tbody> -</table> -</BODY> -</HTML> diff --git a/test/data/format/deprecated.kt b/test/data/format/deprecated.kt deleted file mode 100644 index 4fc568c2..00000000 --- a/test/data/format/deprecated.kt +++ /dev/null @@ -1,5 +0,0 @@ -@Deprecated("This class sucks") class C() { } - -@Deprecated("This function sucks") fun f() { } - -@Deprecated("This property sucks") val p: Int get() = 0 diff --git a/test/data/format/deprecated.package.html b/test/data/format/deprecated.package.html deleted file mode 100644 index dd80471c..00000000 --- a/test/data/format/deprecated.package.html +++ /dev/null @@ -1,43 +0,0 @@ -<HTML> -<HEAD> -<title>test / root package</title> -</HEAD> -<BODY> -<a href="test/index">test</a><br/> -<br/> -<h2>Package </h2> -<h3>Types</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/-c/index">C</a></td> -<td> -<code><span class="keyword">class </span><s><span class="identifier">C</span></s></code></td> -</tr> -</tbody> -</table> -<h3>Properties</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/p">p</a></td> -<td> -<code><span class="keyword">val </span><s><span class="identifier">p</span></s><span class="symbol">: </span><span class="identifier">Int</span></code></td> -</tr> -</tbody> -</table> -<h3>Functions</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/f">f</a></td> -<td> -<code><span class="keyword">fun </span><s><span class="identifier">f</span></s><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td> -</tr> -</tbody> -</table> -</BODY> -</HTML> diff --git a/test/data/format/emptyDescription.kt b/test/data/format/emptyDescription.kt deleted file mode 100644 index 3ed81dfa..00000000 --- a/test/data/format/emptyDescription.kt +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Function fn - */ -fun fn() { -}
\ No newline at end of file diff --git a/test/data/format/emptyDescription.md b/test/data/format/emptyDescription.md deleted file mode 100644 index e82e7228..00000000 --- a/test/data/format/emptyDescription.md +++ /dev/null @@ -1,11 +0,0 @@ -[test](test/index) / [fn](test/fn) - - -# fn - -`fun fn(): Unit` - -Function fn - - - diff --git a/test/data/format/entity.html b/test/data/format/entity.html deleted file mode 100644 index a939faad..00000000 --- a/test/data/format/entity.html +++ /dev/null @@ -1,26 +0,0 @@ -<HTML> -<HEAD> -<title>test / Bar</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/-bar/index">Bar</a><br/> -<br/> -<h1>Bar</h1> -<code><span class="keyword">class </span><span class="identifier">Bar</span></code><br/> -<p>Copyright © JetBrains 2015 "</p> -<br/> -<br/> -<h3>Constructors</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/-bar/-init-"><init></a></td> -<td> -<code><span class="identifier">Bar</span><span class="symbol">(</span><span class="symbol">)</span></code><p>Copyright © JetBrains 2015 "</p> -</td> -</tr> -</tbody> -</table> -</BODY> -</HTML> diff --git a/test/data/format/entity.kt b/test/data/format/entity.kt deleted file mode 100644 index 163d2ee6..00000000 --- a/test/data/format/entity.kt +++ /dev/null @@ -1,4 +0,0 @@ -/** - * Copyright © JetBrains 2015 " - */ -class Bar {} diff --git a/test/data/format/enumClass.kt b/test/data/format/enumClass.kt deleted file mode 100644 index c1af69d8..00000000 --- a/test/data/format/enumClass.kt +++ /dev/null @@ -1,4 +0,0 @@ -public enum class InlineOption { - LOCAL_CONTINUE_AND_BREAK, - ONLY_LOCAL_RETURN -} diff --git a/test/data/format/enumClass.md b/test/data/format/enumClass.md deleted file mode 100644 index 7a0e03ff..00000000 --- a/test/data/format/enumClass.md +++ /dev/null @@ -1,15 +0,0 @@ -[test](test/index) / [InlineOption](test/-inline-option/index) - - -# InlineOption - -`enum class InlineOption` - - - -### Enum Values - - -| [LOCAL_CONTINUE_AND_BREAK](test/-inline-option/-l-o-c-a-l_-c-o-n-t-i-n-u-e_-a-n-d_-b-r-e-a-k) | | -| [ONLY_LOCAL_RETURN](test/-inline-option/-o-n-l-y_-l-o-c-a-l_-r-e-t-u-r-n) | | - diff --git a/test/data/format/enumClass.value.md b/test/data/format/enumClass.value.md deleted file mode 100644 index bcb685d1..00000000 --- a/test/data/format/enumClass.value.md +++ /dev/null @@ -1,8 +0,0 @@ -[test](test/index) / [InlineOption](test/-inline-option/index) / [LOCAL_CONTINUE_AND_BREAK](test/-inline-option/-l-o-c-a-l_-c-o-n-t-i-n-u-e_-a-n-d_-b-r-e-a-k) - - -# LOCAL_CONTINUE_AND_BREAK - -`LOCAL_CONTINUE_AND_BREAK` - - diff --git a/test/data/format/extensionFunctionParameter.kt b/test/data/format/extensionFunctionParameter.kt deleted file mode 100644 index bfb344b9..00000000 --- a/test/data/format/extensionFunctionParameter.kt +++ /dev/null @@ -1 +0,0 @@ -public inline fun <T> T.apply(f: T.() -> Unit): T { f(); return this } diff --git a/test/data/format/extensionFunctionParameter.md b/test/data/format/extensionFunctionParameter.md deleted file mode 100644 index 6980912d..00000000 --- a/test/data/format/extensionFunctionParameter.md +++ /dev/null @@ -1,8 +0,0 @@ -[test](test/index) / [apply](test/apply) - - -# apply - -`inline fun <T> T.apply(f: T.() -> Unit): T` - - diff --git a/test/data/format/extensions.class.md b/test/data/format/extensions.class.md deleted file mode 100644 index c66cdb01..00000000 --- a/test/data/format/extensions.class.md +++ /dev/null @@ -1,16 +0,0 @@ -[test](test/index) / [foo](test/foo/index) / [kotlin.String](test/foo/kotlin.-string/index) - - -### Extensions for kotlin.String - - -| [fn](test/foo/kotlin.-string/fn) | `fun String.fn(): Unit` -`fun String.fn(x: Int): Unit` -Function with receiver - - | -| [foobar](test/foo/kotlin.-string/foobar) | `val String.foobar: Int` -Property with receiver. - - | - diff --git a/test/data/format/extensions.kt b/test/data/format/extensions.kt deleted file mode 100644 index 6f2eff9d..00000000 --- a/test/data/format/extensions.kt +++ /dev/null @@ -1,19 +0,0 @@ -package foo - -/** - * Function with receiver - */ -fun String.fn() { -} - -/** - * Function with receiver - */ -fun String.fn(x: Int) { -} - -/** - * Property with receiver. - */ -val String.foobar: Int - get() = size() * 2 diff --git a/test/data/format/extensions.package.md b/test/data/format/extensions.package.md deleted file mode 100644 index 76ff3676..00000000 --- a/test/data/format/extensions.package.md +++ /dev/null @@ -1,11 +0,0 @@ -[test](test/index) / [foo](test/foo/index) - - -## Package foo - - -### Extensions for External Classes - - -| [kotlin.String](test/foo/kotlin.-string/index) | | - diff --git a/test/data/format/functionWithDefaultParameter.kt b/test/data/format/functionWithDefaultParameter.kt deleted file mode 100644 index 3a3a102f..00000000 --- a/test/data/format/functionWithDefaultParameter.kt +++ /dev/null @@ -1 +0,0 @@ -fun f(x: String = "") {} diff --git a/test/data/format/functionWithDefaultParameter.md b/test/data/format/functionWithDefaultParameter.md deleted file mode 100644 index 21e9eff7..00000000 --- a/test/data/format/functionWithDefaultParameter.md +++ /dev/null @@ -1,8 +0,0 @@ -[test](test/index) / [f](test/f) - - -# f - -`fun f(x: String = ""): Unit` - - diff --git a/test/data/format/htmlEscaping.html b/test/data/format/htmlEscaping.html deleted file mode 100644 index a485c08f..00000000 --- a/test/data/format/htmlEscaping.html +++ /dev/null @@ -1,14 +0,0 @@ -<HTML> -<HEAD> -<title>test / x</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/x">x</a><br/> -<br/> -<h1>x</h1> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">x</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">T</span><span class="symbol">?</span></code><br/> -<p>Special characters: < is "less than", > is "greater than", & is "ampersand"</p> -<br/> -<br/> -</BODY> -</HTML> diff --git a/test/data/format/htmlEscaping.kt b/test/data/format/htmlEscaping.kt deleted file mode 100644 index 8778d8a5..00000000 --- a/test/data/format/htmlEscaping.kt +++ /dev/null @@ -1,4 +0,0 @@ -/** - * Special characters: < is "less than", > is "greater than", & is "ampersand" - */ -fun x<T>(): T? = null diff --git a/test/data/format/inheritedExtensions.kt b/test/data/format/inheritedExtensions.kt deleted file mode 100644 index e38fe00d..00000000 --- a/test/data/format/inheritedExtensions.kt +++ /dev/null @@ -1,11 +0,0 @@ -open class Foo - -class Bar : Foo() - -fun Foo.first() { - -} - -fun Bar.second() { - -} diff --git a/test/data/format/inheritedExtensions.md b/test/data/format/inheritedExtensions.md deleted file mode 100644 index 79137eac..00000000 --- a/test/data/format/inheritedExtensions.md +++ /dev/null @@ -1,21 +0,0 @@ -[test](test/index) / [Bar](test/-bar/index) - - -# Bar - -`class Bar : [Foo](test/-foo/index)` - - - -### Constructors - - -| [<init>](test/-bar/-init-) | `Bar()` | - - -### Extension Functions - - -| [first](test/first) | `fun [Foo](test/-foo/index).first(): Unit` | -| [second](test/second) | `fun [Bar](test/-bar/index).second(): Unit` | - diff --git a/test/data/format/inheritedMembers.kt b/test/data/format/inheritedMembers.kt deleted file mode 100644 index 2d0c4ca1..00000000 --- a/test/data/format/inheritedMembers.kt +++ /dev/null @@ -1,12 +0,0 @@ -open class Foo { - fun first() { - } - - val firstProp: Int = 0 -} - -class Bar : Foo() { - fun second() - - val secondProp: Int = 1 -} diff --git a/test/data/format/inheritedMembers.md b/test/data/format/inheritedMembers.md deleted file mode 100644 index d58d3974..00000000 --- a/test/data/format/inheritedMembers.md +++ /dev/null @@ -1,38 +0,0 @@ -[test](test/index) / [Bar](test/-bar/index) - - -# Bar - -`class Bar : [Foo](test/-foo/index)` - - - -### Constructors - - -| [<init>](test/-bar/-init-) | `Bar()` | - - -### Properties - - -| [secondProp](test/-bar/second-prop) | `val secondProp: Int` | - - -### Inherited Properties - - -| [firstProp](test/-foo/first-prop) | `val firstProp: Int` | - - -### Functions - - -| [second](test/-bar/second) | `fun second(): Unit` | - - -### Inherited Functions - - -| [first](test/-foo/first) | `fun first(): Unit` | - diff --git a/test/data/format/javaCodeInParam.java b/test/data/format/javaCodeInParam.java deleted file mode 100644 index 73025fcc..00000000 --- a/test/data/format/javaCodeInParam.java +++ /dev/null @@ -1,5 +0,0 @@ -/** - * @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 deleted file mode 100644 index b1d2d871..00000000 --- a/test/data/format/javaCodeInParam.md +++ /dev/null @@ -1,21 +0,0 @@ -[test](test/index) / [C](test/-c/index) - - -# C - -`protected open class C<T : Any>` - - - - -### Parameters - -`T` - this is `some code` and other text - - - -### Constructors - - -| [<init>](test/-c/-init-) | `C()` | - diff --git a/test/data/format/javaCodeLiteralTags.java b/test/data/format/javaCodeLiteralTags.java deleted file mode 100644 index e71ddaa7..00000000 --- a/test/data/format/javaCodeLiteralTags.java +++ /dev/null @@ -1,6 +0,0 @@ -/** - * <p>{@code A<B>C}</p> - * <p>{@literal A<B>C}</p> - */ -class C { -} diff --git a/test/data/format/javaCodeLiteralTags.md b/test/data/format/javaCodeLiteralTags.md deleted file mode 100644 index 83c9cc33..00000000 --- a/test/data/format/javaCodeLiteralTags.md +++ /dev/null @@ -1,23 +0,0 @@ -[test](test/index) / [C](test/-c/index) - - -# C - -`protected open class C` - - -`A<B>C` - - -A<B>C - - - - - - -### Constructors - - -| [<init>](test/-c/-init-) | `C()` | - diff --git a/test/data/format/javaDeprecated.html b/test/data/format/javaDeprecated.html deleted file mode 100644 index 236c6490..00000000 --- a/test/data/format/javaDeprecated.html +++ /dev/null @@ -1,14 +0,0 @@ -<HTML> -<HEAD> -<title>test / Foo.foo</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/-foo/index">Foo</a> / <a href="test/-foo/foo">foo</a><br/> -<br/> -<h1>foo</h1> -<code><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 <code><a href="test/-foo/bar">#bar</a></code> instead <p></p> -<br/> -<br/> -</BODY> -</HTML> diff --git a/test/data/format/javaDeprecated.java b/test/data/format/javaDeprecated.java deleted file mode 100644 index 9694a444..00000000 --- a/test/data/format/javaDeprecated.java +++ /dev/null @@ -1,5 +0,0 @@ -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 deleted file mode 100644 index 1b6921ab..00000000 --- a/test/data/format/javaLinkTag.html +++ /dev/null @@ -1,36 +0,0 @@ -<HTML> -<HEAD> -<title>test / Foo</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/-foo/index">Foo</a><br/> -<br/> -<h1>Foo</h1> -<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Foo</span></code><br/> -<p>Call <code><a href="test/-foo/bar">#bar()</a></code> to do the job. </p> -<br/> -<br/> -<h3>Constructors</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/-foo/-init-"><init></a></td> -<td> -<code><span class="identifier">Foo</span><span class="symbol">(</span><span class="symbol">)</span></code></td> -</tr> -</tbody> -</table> -<h3>Functions</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/-foo/bar">bar</a></td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">bar</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td> -</tr> -</tbody> -</table> -</BODY> -</HTML> diff --git a/test/data/format/javaLinkTag.java b/test/data/format/javaLinkTag.java deleted file mode 100644 index 84f761c6..00000000 --- a/test/data/format/javaLinkTag.java +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Call {@link #bar()} to do the job. - */ -class Foo { - public void bar() -} diff --git a/test/data/format/javaLinkTagWithLabel.html b/test/data/format/javaLinkTagWithLabel.html deleted file mode 100644 index aabfbc58..00000000 --- a/test/data/format/javaLinkTagWithLabel.html +++ /dev/null @@ -1,36 +0,0 @@ -<HTML> -<HEAD> -<title>test / Foo</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/-foo/index">Foo</a><br/> -<br/> -<h1>Foo</h1> -<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Foo</span></code><br/> -<p>Call <code><a href="test/-foo/bar">this wonderful method</a></code> to do the job. </p> -<br/> -<br/> -<h3>Constructors</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/-foo/-init-"><init></a></td> -<td> -<code><span class="identifier">Foo</span><span class="symbol">(</span><span class="symbol">)</span></code></td> -</tr> -</tbody> -</table> -<h3>Functions</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/-foo/bar">bar</a></td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">bar</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td> -</tr> -</tbody> -</table> -</BODY> -</HTML> diff --git a/test/data/format/javaLinkTagWithLabel.java b/test/data/format/javaLinkTagWithLabel.java deleted file mode 100644 index 1db5ad70..00000000 --- a/test/data/format/javaLinkTagWithLabel.java +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Call {@link #bar() this wonderful method} to do the job. - */ -class Foo { - public void bar() -} diff --git a/test/data/format/javaSeeTag.html b/test/data/format/javaSeeTag.html deleted file mode 100644 index a6813df3..00000000 --- a/test/data/format/javaSeeTag.html +++ /dev/null @@ -1,38 +0,0 @@ -<HTML> -<HEAD> -<title>test / Foo</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/-foo/index">Foo</a><br/> -<br/> -<h1>Foo</h1> -<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Foo</span></code><br/> -<p></p> -<strong>See Also</strong><br/> -<a href="test/-foo/bar">#bar</a><br/> -<br/> -<br/> -<h3>Constructors</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/-foo/-init-"><init></a></td> -<td> -<code><span class="identifier">Foo</span><span class="symbol">(</span><span class="symbol">)</span></code></td> -</tr> -</tbody> -</table> -<h3>Functions</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/-foo/bar">bar</a></td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">bar</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td> -</tr> -</tbody> -</table> -</BODY> -</HTML> diff --git a/test/data/format/javaSeeTag.java b/test/data/format/javaSeeTag.java deleted file mode 100644 index 94a24606..00000000 --- a/test/data/format/javaSeeTag.java +++ /dev/null @@ -1,6 +0,0 @@ -/** - * @see #bar - */ -public class Foo { - public void bar() {} -}
\ No newline at end of file diff --git a/test/data/format/javaSpaceInAuthor.java b/test/data/format/javaSpaceInAuthor.java deleted file mode 100644 index f980ae07..00000000 --- a/test/data/format/javaSpaceInAuthor.java +++ /dev/null @@ -1,5 +0,0 @@ -/** - * @author Dmitry Jemerov - */ -class C { -}
\ No newline at end of file diff --git a/test/data/format/javaSpaceInAuthor.md b/test/data/format/javaSpaceInAuthor.md deleted file mode 100644 index 4d19ed01..00000000 --- a/test/data/format/javaSpaceInAuthor.md +++ /dev/null @@ -1,19 +0,0 @@ -[test](test/index) / [C](test/-c/index) - - -# C - -`protected open class C` - - - -**Author** -Dmitry Jemerov - - - -### Constructors - - -| [<init>](test/-c/-init-) | `C()` | - diff --git a/test/data/format/javaSupertype.html b/test/data/format/javaSupertype.html deleted file mode 100644 index 4c847281..00000000 --- a/test/data/format/javaSupertype.html +++ /dev/null @@ -1,35 +0,0 @@ -<HTML> -<HEAD> -<title>test / C.Bar</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/-c/index">C</a> / <a href="test/-c/-bar/index">Bar</a><br/> -<br/> -<h1>Bar</h1> -<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Bar</span> <span class="symbol">:</span> <a href="test/-c/-foo/index"><span class="identifier">Foo</span></a></code><br/> -<br/> -<br/> -<h3>Constructors</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/-c/-bar/-init-"><init></a></td> -<td> -<code><span class="identifier">Bar</span><span class="symbol">(</span><span class="symbol">)</span></code></td> -</tr> -</tbody> -</table> -<h3>Functions</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/-c/-bar/return-foo">returnFoo</a></td> -<td> -<code><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/-c/-foo/index"><span class="identifier">Foo</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="test/-c/-foo/index"><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 deleted file mode 100644 index b3142ff6..00000000 --- a/test/data/format/javaSupertype.java +++ /dev/null @@ -1,8 +0,0 @@ -class C { - public static class Foo { - } - - public static class Bar extends Foo { - public Foo returnFoo(Foo foo) { return foo; } - } -} diff --git a/test/data/format/javadocHtml.java b/test/data/format/javadocHtml.java deleted file mode 100644 index 622116b2..00000000 --- a/test/data/format/javadocHtml.java +++ /dev/null @@ -1,14 +0,0 @@ -/** - * <b>Bold</b> - * <strong>Strong</strong> - * <i>Italic</i> - * <em>Emphasized</em> - * <p>Paragraph</p> - * <s>Strikethrough</s> - * <del>Deleted</del> - * <code>Code</code> - * <pre>Block code</pre> - * <ul><li>List Item</li></ul> - */ -public class C { -} diff --git a/test/data/format/javadocHtml.md b/test/data/format/javadocHtml.md deleted file mode 100644 index db71cc3b..00000000 --- a/test/data/format/javadocHtml.md +++ /dev/null @@ -1,27 +0,0 @@ -[test](test/index) / [C](test/-c/index) - - -# C - -`open class C` - -**Bold** **Strong** *Italic* *Emphasized* -Paragraph - - ~~Strikethrough~~ ~~Deleted~~ `Code` -``` -Block code -``` - - * List Item - - - - - - -### Constructors - - -| [<init>](test/-c/-init-) | `C()` | - diff --git a/test/data/format/javadocOrderedList.java b/test/data/format/javadocOrderedList.java deleted file mode 100644 index c32d9032..00000000 --- a/test/data/format/javadocOrderedList.java +++ /dev/null @@ -1,8 +0,0 @@ -/** - * <ol> - * <li>Rinse</li> - * <li>Repeat</li> - * </ol> - */ -public class Bar { -} diff --git a/test/data/format/javadocOrderedList.md b/test/data/format/javadocOrderedList.md deleted file mode 100644 index 02a3c095..00000000 --- a/test/data/format/javadocOrderedList.md +++ /dev/null @@ -1,20 +0,0 @@ -[test](test/index) / [Bar](test/-bar/index) - - -# Bar - -`open class Bar` - - 1. Rinse - 1. Repeat - - - - - - -### Constructors - - -| [<init>](test/-bar/-init-) | `Bar()` | - diff --git a/test/data/format/linkWithLabel.html b/test/data/format/linkWithLabel.html deleted file mode 100644 index 75769ffd..00000000 --- a/test/data/format/linkWithLabel.html +++ /dev/null @@ -1,37 +0,0 @@ -<HTML> -<HEAD> -<title>test / Bar</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/-bar/index">Bar</a><br/> -<br/> -<h1>Bar</h1> -<code><span class="keyword">class </span><span class="identifier">Bar</span></code><br/> -<p>Use <a href="test/-bar/foo">this method</a> for best results.</p> -<br/> -<br/> -<h3>Constructors</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/-bar/-init-"><init></a></td> -<td> -<code><span class="identifier">Bar</span><span class="symbol">(</span><span class="symbol">)</span></code><p>Use <a href="test/-bar/foo">this method</a> for best results.</p> -</td> -</tr> -</tbody> -</table> -<h3>Functions</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/-bar/foo">foo</a></td> -<td> -<code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td> -</tr> -</tbody> -</table> -</BODY> -</HTML> diff --git a/test/data/format/linkWithLabel.kt b/test/data/format/linkWithLabel.kt deleted file mode 100644 index 4a85c505..00000000 --- a/test/data/format/linkWithLabel.kt +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Use [this method][Bar.foo] for best results. - */ -class Bar { - fun foo() {} -} diff --git a/test/data/format/nullability.kt b/test/data/format/nullability.kt deleted file mode 100644 index d1d4545b..00000000 --- a/test/data/format/nullability.kt +++ /dev/null @@ -1,5 +0,0 @@ -class C<T> { - fun foo(): Comparable<T>? { - return null - } -} diff --git a/test/data/format/nullability.md b/test/data/format/nullability.md deleted file mode 100644 index ee50a0a5..00000000 --- a/test/data/format/nullability.md +++ /dev/null @@ -1,20 +0,0 @@ -[test](test/index) / [C](test/-c/index) - - -# C - -`class C<T>` - - - -### Constructors - - -| [<init>](test/-c/-init-) | `C()` | - - -### Functions - - -| [foo](test/-c/foo) | `fun foo(): Comparable<T>?` | - diff --git a/test/data/format/operatorOverloading.kt b/test/data/format/operatorOverloading.kt deleted file mode 100644 index 6fe78e45..00000000 --- a/test/data/format/operatorOverloading.kt +++ /dev/null @@ -1,3 +0,0 @@ -class C { - fun plus(other: C): C -} diff --git a/test/data/format/operatorOverloading.md b/test/data/format/operatorOverloading.md deleted file mode 100644 index 05fe3206..00000000 --- a/test/data/format/operatorOverloading.md +++ /dev/null @@ -1,8 +0,0 @@ -[test](test/index) / [C](test/-c/index) / [plus](test/-c/plus) - - -# plus - -`fun plus(other: [C](test/-c/index)): [C](test/-c/index)` - - diff --git a/test/data/format/orderedList.html b/test/data/format/orderedList.html deleted file mode 100644 index 9917568f..00000000 --- a/test/data/format/orderedList.html +++ /dev/null @@ -1,30 +0,0 @@ -<HTML> -<HEAD> -<title>test / Bar</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/-bar/index">Bar</a><br/> -<br/> -<h1>Bar</h1> -<code><span class="keyword">class </span><span class="identifier">Bar</span></code><br/> -<p>Usage instructions:</p> -<ol><li><p>Rinse</p> -</li><li><p>Repeat</p> -</li></ol><br/> -<br/> -<br/> -<br/> -<h3>Constructors</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/-bar/-init-"><init></a></td> -<td> -<code><span class="identifier">Bar</span><span class="symbol">(</span><span class="symbol">)</span></code><p>Usage instructions:</p> -</td> -</tr> -</tbody> -</table> -</BODY> -</HTML> diff --git a/test/data/format/orderedList.kt b/test/data/format/orderedList.kt deleted file mode 100644 index 03681c7a..00000000 --- a/test/data/format/orderedList.kt +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Usage instructions: - * - * 1. Rinse - * 1. Repeat - */ -class Bar { -} diff --git a/test/data/format/overloads.html b/test/data/format/overloads.html deleted file mode 100644 index 752f3989..00000000 --- a/test/data/format/overloads.html +++ /dev/null @@ -1,23 +0,0 @@ -<HTML> -<HEAD> -<title>test / root package</title> -</HEAD> -<BODY> -<a href="test/index">test</a><br/> -<br/> -<h2>Package </h2> -<h3>Functions</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/f">f</a></td> -<td> -<code><span class="keyword">fun </span><span class="identifier">f</span><span class="symbol">(</span><span class="identifier">x</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/> -<code><span class="keyword">fun </span><span class="identifier">f</span><span class="symbol">(</span><span class="identifier">x</span><span class="symbol">:</span> <span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Performs an action on x.</p> -</td> -</tr> -</tbody> -</table> -</BODY> -</HTML> diff --git a/test/data/format/overloads.kt b/test/data/format/overloads.kt deleted file mode 100644 index dcd2d097..00000000 --- a/test/data/format/overloads.kt +++ /dev/null @@ -1,5 +0,0 @@ -/** Performs an action on x. */ -fun f(x: Int) { } - -/** Performs an action on x. */ -fun f(x: String) { } diff --git a/test/data/format/overloadsWithDescription.html b/test/data/format/overloadsWithDescription.html deleted file mode 100644 index a0efb472..00000000 --- a/test/data/format/overloadsWithDescription.html +++ /dev/null @@ -1,21 +0,0 @@ -<HTML> -<HEAD> -<title>test / f</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/f">f</a><br/> -<br/> -<h1>f</h1> -<code><span class="keyword">fun </span><span class="identifier">f</span><span class="symbol">(</span><span class="identifier">x</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/> -<code><span class="keyword">fun </span><span class="identifier">f</span><span class="symbol">(</span><span class="identifier">x</span><span class="symbol">:</span> <span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/> -<p>Performs an action on <a href="test/f#x">x</a>.</p> -<p>This is a long description.</p> -<br/> -<br/> -<h3>Parameters</h3> -<a name="x"></a> -<code>x</code> - the value to perform the action on.<br/> -<br/> -<br/> -</BODY> -</HTML> diff --git a/test/data/format/overloadsWithDescription.kt b/test/data/format/overloadsWithDescription.kt deleted file mode 100644 index 740e642f..00000000 --- a/test/data/format/overloadsWithDescription.kt +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Performs an action on [x]. - * - * This is a long description. - * @param x the value to perform the action on. - */ -fun f(x: Int) { } - -/** - * Performs an action on [x]. - * - * This is a long description. - * @param x the value to perform the action on. - */ -fun f(x: String) { } diff --git a/test/data/format/overloadsWithDifferentDescriptions.html b/test/data/format/overloadsWithDifferentDescriptions.html deleted file mode 100644 index 30a37e75..00000000 --- a/test/data/format/overloadsWithDifferentDescriptions.html +++ /dev/null @@ -1,30 +0,0 @@ -<HTML> -<HEAD> -<title>test / f</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/f">f</a><br/> -<br/> -<h1>f</h1> -<code><span class="keyword">fun </span><span class="identifier">f</span><span class="symbol">(</span><span class="identifier">x</span><span class="symbol">:</span> <span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/> -<p>Performs an action on x.</p> -<p>This is a long description.</p> -<br/> -<br/> -<h3>Parameters</h3> -<a name="x"></a> -<code>x</code> - the int value to perform the action on.<br/> -<br/> -<br/> -<code><span class="keyword">fun </span><span class="identifier">f</span><span class="symbol">(</span><span class="identifier">x</span><span class="symbol">:</span> <span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/> -<p>Performs an action on x.</p> -<p>This is a long description.</p> -<br/> -<br/> -<h3>Parameters</h3> -<a name="x"></a> -<code>x</code> - the string value to perform the action on.<br/> -<br/> -<br/> -</BODY> -</HTML> diff --git a/test/data/format/overloadsWithDifferentDescriptions.kt b/test/data/format/overloadsWithDifferentDescriptions.kt deleted file mode 100644 index ad3169b0..00000000 --- a/test/data/format/overloadsWithDifferentDescriptions.kt +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Performs an action on x. - * - * This is a long description. - * @param x the int value to perform the action on. - */ -fun f(x: Int) { } - -/** - * Performs an action on x. - * - * This is a long description. - * @param x the string value to perform the action on. - */ -fun f(x: String) { } diff --git a/test/data/format/overridingFunction.kt b/test/data/format/overridingFunction.kt deleted file mode 100644 index d7329489..00000000 --- a/test/data/format/overridingFunction.kt +++ /dev/null @@ -1,7 +0,0 @@ -open class C() { - open fun f() {} -} - -class D(): C() { - override fun f() {} -} diff --git a/test/data/format/overridingFunction.md b/test/data/format/overridingFunction.md deleted file mode 100644 index 2c898b9c..00000000 --- a/test/data/format/overridingFunction.md +++ /dev/null @@ -1,9 +0,0 @@ -[test](test/index) / [D](test/-d/index) / [f](test/-d/f) - - -# f - -`fun f(): Unit` -Overrides [C.f](test/-c/f) - - diff --git a/test/data/format/paramTag.kt b/test/data/format/paramTag.kt deleted file mode 100644 index 47e471f5..00000000 --- a/test/data/format/paramTag.kt +++ /dev/null @@ -1,6 +0,0 @@ -/** - * @param x A string - * @param y A number with a really long description that spans multiple lines and goes - * on and on and is very interesting to read - */ -fun f(x: String, y: Int) {} diff --git a/test/data/format/paramTag.md b/test/data/format/paramTag.md deleted file mode 100644 index 882083fe..00000000 --- a/test/data/format/paramTag.md +++ /dev/null @@ -1,14 +0,0 @@ -[test](test/index) / [f](test/f) - - -# f - -`fun f(x: String, y: Int): Unit` - -### Parameters - -`x` - A string -`y` - A number with a really long description that spans multiple lines and goes -on and on and is very interesting to read - - diff --git a/test/data/format/parameterAnchor.html b/test/data/format/parameterAnchor.html deleted file mode 100644 index c5920fb7..00000000 --- a/test/data/format/parameterAnchor.html +++ /dev/null @@ -1,17 +0,0 @@ -<HTML> -<HEAD> -<title>test / processFiles</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/process-files">processFiles</a><br/> -<br/> -<h1>processFiles</h1> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">processFiles</span><span class="symbol">(</span><span class="identifier">processor</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="identifier">T</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code><br/> -<p>Runs <a href="test/process-files#processor">processor</a> for each file and collects its results into single list</p> -<h3>Parameters</h3> -<a name="processor"></a> -<code>processor</code> - function to receive context for symbol resolution and file for processing<br/> -<br/> -<br/> -</BODY> -</HTML> diff --git a/test/data/format/parameterAnchor.kt b/test/data/format/parameterAnchor.kt deleted file mode 100644 index ae36ee4c..00000000 --- a/test/data/format/parameterAnchor.kt +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Runs [processor] for each file and collects its results into single list - * @param processor function to receive context for symbol resolution and file for processing - */ -public fun processFiles<T>(processor: () -> T): List<T> { -} diff --git a/test/data/format/parenthesis.html b/test/data/format/parenthesis.html deleted file mode 100644 index c36b311b..00000000 --- a/test/data/format/parenthesis.html +++ /dev/null @@ -1,14 +0,0 @@ -<HTML> -<HEAD> -<title>test / foo</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/foo">foo</a><br/> -<br/> -<h1>foo</h1> -<code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/> -<p>foo (bar)</p> -<br/> -<br/> -</BODY> -</HTML> diff --git a/test/data/format/parenthesis.kt b/test/data/format/parenthesis.kt deleted file mode 100644 index b906f64a..00000000 --- a/test/data/format/parenthesis.kt +++ /dev/null @@ -1,4 +0,0 @@ -/** - * foo (bar) - */ -fun foo() {} diff --git a/test/data/format/propertyVar.kt b/test/data/format/propertyVar.kt deleted file mode 100644 index 88be1a7a..00000000 --- a/test/data/format/propertyVar.kt +++ /dev/null @@ -1 +0,0 @@ -var x = 1
\ No newline at end of file diff --git a/test/data/format/propertyVar.md b/test/data/format/propertyVar.md deleted file mode 100644 index f2110992..00000000 --- a/test/data/format/propertyVar.md +++ /dev/null @@ -1,8 +0,0 @@ -[test](test/index) / [x](test/x) - - -# x - -`var x: Int` - - diff --git a/test/data/format/reifiedTypeParameter.kt b/test/data/format/reifiedTypeParameter.kt deleted file mode 100644 index 00fa1dc9..00000000 --- a/test/data/format/reifiedTypeParameter.kt +++ /dev/null @@ -1,3 +0,0 @@ -inline fun f<reified T>() { - -} diff --git a/test/data/format/reifiedTypeParameter.md b/test/data/format/reifiedTypeParameter.md deleted file mode 100644 index 2e96018e..00000000 --- a/test/data/format/reifiedTypeParameter.md +++ /dev/null @@ -1,8 +0,0 @@ -[test](test/index) / [f](test/f) - - -# f - -`inline fun <reified T> f(): Unit` - - diff --git a/test/data/format/see.html b/test/data/format/see.html deleted file mode 100644 index b3ffb74b..00000000 --- a/test/data/format/see.html +++ /dev/null @@ -1,28 +0,0 @@ -<HTML> -<HEAD> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/quux">quux</a><br/> -<br/> -<h1>quux</h1> -<code><span class="keyword">fun </span><span class="identifier">quux</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/> -<strong>See Also</strong><br/> -<p><a href="test/foo">foo</a></p> -<p><a href="test/bar">bar</a></p> -<br/> -<br/> -<br/> -<a href="test/index">test</a> / <a href="test/foo">foo</a><br/> -<br/> -<h1>foo</h1> -<code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/> -<br/> -<br/> -<a href="test/index">test</a> / <a href="test/bar">bar</a><br/> -<br/> -<h1>bar</h1> -<code><span class="keyword">fun </span><span class="identifier">bar</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/> -<br/> -<br/> -</BODY> -</HTML> diff --git a/test/data/format/see.kt b/test/data/format/see.kt deleted file mode 100644 index a0b153b0..00000000 --- a/test/data/format/see.kt +++ /dev/null @@ -1,12 +0,0 @@ -/** - * @see foo - * @see bar - */ -fun quux() { -} - -fun foo() { -} - -fun bar() { -}
\ No newline at end of file diff --git a/test/data/format/starProjection.kt b/test/data/format/starProjection.kt deleted file mode 100644 index 48d53e47..00000000 --- a/test/data/format/starProjection.kt +++ /dev/null @@ -1,3 +0,0 @@ -public fun Iterable<*>.containsFoo(element: Any?): Boolean { - return false -} diff --git a/test/data/format/starProjection.md b/test/data/format/starProjection.md deleted file mode 100644 index c9be2f58..00000000 --- a/test/data/format/starProjection.md +++ /dev/null @@ -1,8 +0,0 @@ -[test](test/index) / [kotlin.Iterable](test/kotlin.-iterable/index) - - -### Extensions for kotlin.Iterable - - -| [containsFoo](test/kotlin.-iterable/contains-foo) | `fun Iterable<*>.containsFoo(element: Any?): Boolean` | - diff --git a/test/data/format/summarizeSignatures.kt b/test/data/format/summarizeSignatures.kt deleted file mode 100644 index 1d875a50..00000000 --- a/test/data/format/summarizeSignatures.kt +++ /dev/null @@ -1,20 +0,0 @@ -package kotlin - -class Array<T> -class IntArray -class CharArray - -/** - * Returns true if foo. - */ -fun IntArray.foo(predicate: (Int) -> Boolean): Boolean = false - -/** - * Returns true if foo. - */ -fun CharArray.foo(predicate: (Char) -> Boolean): Boolean = false - -/** - * Returns true if foo. - */ -fun <T> Array<T>.foo(predicate: (T) -> Boolean): Boolean = false diff --git a/test/data/format/summarizeSignatures.md b/test/data/format/summarizeSignatures.md deleted file mode 100644 index b1707f40..00000000 --- a/test/data/format/summarizeSignatures.md +++ /dev/null @@ -1,23 +0,0 @@ -[test](test/index) / [kotlin](test/kotlin/index) - - -## Package kotlin - - -### Types - - -| [Array](test/kotlin/-array/index) | `class Array<T>` | -| [CharArray](test/kotlin/-char-array/index) | `class CharArray` | -| [IntArray](test/kotlin/-int-array/index) | `class IntArray` | - - -### Functions - - -| [foo](test/kotlin/foo) | `fun <T> any_array<T>.foo(predicate: (T) -> Boolean): Boolean` - -Returns true if foo. - - | - diff --git a/test/data/format/summarizeSignaturesProperty.kt b/test/data/format/summarizeSignaturesProperty.kt deleted file mode 100644 index fbbdd328..00000000 --- a/test/data/format/summarizeSignaturesProperty.kt +++ /dev/null @@ -1,20 +0,0 @@ -package kotlin - -class Array<T> -class IntArray -class CharArray - -/** - * Returns true if foo. - */ -val IntArray.foo: Int = 0 - -/** - * Returns true if foo. - */ -val CharArray.foo: Int = 0 - -/** - * Returns true if foo. - */ -val <T> Array<T>.foo: Int = 0 diff --git a/test/data/format/summarizeSignaturesProperty.md b/test/data/format/summarizeSignaturesProperty.md deleted file mode 100644 index 9646b0f1..00000000 --- a/test/data/format/summarizeSignaturesProperty.md +++ /dev/null @@ -1,23 +0,0 @@ -[test](test/index) / [kotlin](test/kotlin/index) - - -## Package kotlin - - -### Types - - -| [Array](test/kotlin/-array/index) | `class Array<T>` | -| [CharArray](test/kotlin/-char-array/index) | `class CharArray` | -| [IntArray](test/kotlin/-int-array/index) | `class IntArray` | - - -### Properties - - -| [foo](test/kotlin/foo) | `val <T> any_array<T>.foo: Int` - -Returns true if foo. - - | - diff --git a/test/data/format/throwsTag.kt b/test/data/format/throwsTag.kt deleted file mode 100644 index 29a9c3f7..00000000 --- a/test/data/format/throwsTag.kt +++ /dev/null @@ -1,5 +0,0 @@ -/** - * @throws IllegalArgumentException on Mondays - * @exception NullPointerException on Tuesdays - */ -fun f() {} diff --git a/test/data/format/throwsTag.md b/test/data/format/throwsTag.md deleted file mode 100644 index d0a4e610..00000000 --- a/test/data/format/throwsTag.md +++ /dev/null @@ -1,13 +0,0 @@ -[test](test/index) / [f](test/f) - - -# f - -`fun f(): Unit` - -### Exceptions - -`IllegalArgumentException` - on Mondays -`NullPointerException` - on Tuesdays - - diff --git a/test/data/format/tripleBackticks.html b/test/data/format/tripleBackticks.html deleted file mode 100644 index 13954985..00000000 --- a/test/data/format/tripleBackticks.html +++ /dev/null @@ -1,16 +0,0 @@ -<HTML> -<HEAD> -<title>test / f</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/f">f</a><br/> -<br/> -<h1>f</h1> -<code><span class="keyword">fun </span><span class="identifier">f</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/> -<p>Description</p> -<pre><code>code sample</code></pre><br/> -<br/> -<br/> -<br/> -</BODY> -</HTML> diff --git a/test/data/format/tripleBackticks.kt b/test/data/format/tripleBackticks.kt deleted file mode 100644 index 54dfa6d5..00000000 --- a/test/data/format/tripleBackticks.kt +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Description - * ``` - * code sample - * ``` - */ -fun f() {} diff --git a/test/data/format/typeLink.html b/test/data/format/typeLink.html deleted file mode 100644 index ff99090a..00000000 --- a/test/data/format/typeLink.html +++ /dev/null @@ -1,24 +0,0 @@ -<HTML> -<HEAD> -<title>test / Bar</title> -</HEAD> -<BODY> -<a href="test/index">test</a> / <a href="test/-bar/index">Bar</a><br/> -<br/> -<h1>Bar</h1> -<code><span class="keyword">class </span><span class="identifier">Bar</span> <span class="symbol">:</span> <a href="test/-foo/index"><span class="identifier">Foo</span></a></code><br/> -<br/> -<br/> -<h3>Constructors</h3> -<table> -<tbody> -<tr> -<td> -<a href="test/-bar/-init-"><init></a></td> -<td> -<code><span class="identifier">Bar</span><span class="symbol">(</span><span class="symbol">)</span></code></td> -</tr> -</tbody> -</table> -</BODY> -</HTML> diff --git a/test/data/format/typeLink.kt b/test/data/format/typeLink.kt deleted file mode 100644 index 966e020e..00000000 --- a/test/data/format/typeLink.kt +++ /dev/null @@ -1,5 +0,0 @@ -class Foo() { -} - -class Bar(): Foo { -} diff --git a/test/data/format/typeParameterBounds.kt b/test/data/format/typeParameterBounds.kt deleted file mode 100644 index 5f22f8c5..00000000 --- a/test/data/format/typeParameterBounds.kt +++ /dev/null @@ -1,6 +0,0 @@ - -/** - * generic function - */ -public fun <T : R, R> generic() { -}
\ No newline at end of file diff --git a/test/data/format/typeParameterBounds.md b/test/data/format/typeParameterBounds.md deleted file mode 100644 index fe597878..00000000 --- a/test/data/format/typeParameterBounds.md +++ /dev/null @@ -1,11 +0,0 @@ -[test](test/index) / [generic](test/generic) - - -# generic - -`fun <T : R, R> generic(): Unit` - -generic function - - - diff --git a/test/data/format/typeParameterVariance.kt b/test/data/format/typeParameterVariance.kt deleted file mode 100644 index 28b29f4b..00000000 --- a/test/data/format/typeParameterVariance.kt +++ /dev/null @@ -1,2 +0,0 @@ -class Foo<out T> { -} diff --git a/test/data/format/typeParameterVariance.md b/test/data/format/typeParameterVariance.md deleted file mode 100644 index c0bfa6de..00000000 --- a/test/data/format/typeParameterVariance.md +++ /dev/null @@ -1,14 +0,0 @@ -[test](test/index) / [Foo](test/-foo/index) - - -# Foo - -`class Foo<out T>` - - - -### Constructors - - -| [<init>](test/-foo/-init-) | `Foo()` | - diff --git a/test/data/format/typeProjectionVariance.kt b/test/data/format/typeProjectionVariance.kt deleted file mode 100644 index 85ee344d..00000000 --- a/test/data/format/typeProjectionVariance.kt +++ /dev/null @@ -1 +0,0 @@ -fun <T> Array<out T>.foo() {} diff --git a/test/data/format/typeProjectionVariance.md b/test/data/format/typeProjectionVariance.md deleted file mode 100644 index 7aa34593..00000000 --- a/test/data/format/typeProjectionVariance.md +++ /dev/null @@ -1,8 +0,0 @@ -[test](test/index) / [kotlin.Array](test/kotlin.-array/index) - - -### Extensions for kotlin.Array - - -| [foo](test/kotlin.-array/foo) | `fun <T> Array<out T>.foo(): Unit` | - diff --git a/test/data/format/varargsFunction.kt b/test/data/format/varargsFunction.kt deleted file mode 100644 index deea127b..00000000 --- a/test/data/format/varargsFunction.kt +++ /dev/null @@ -1 +0,0 @@ -fun f(vararg s: String) {} diff --git a/test/data/format/varargsFunction.md b/test/data/format/varargsFunction.md deleted file mode 100644 index 723437aa..00000000 --- a/test/data/format/varargsFunction.md +++ /dev/null @@ -1,8 +0,0 @@ -[test](test/index) / [f](test/f) - - -# f - -`fun f(vararg s: String): Unit` - - |