From 20ba46e50ef8324f2a51d5a545c5f96133bf366e Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Wed, 9 Sep 2015 13:01:05 +0200 Subject: default visibility is public --- test/data/format/javaDeprecated.html | 2 +- test/data/format/javaSupertype.html | 2 +- test/data/format/javadocHtml.md | 2 +- test/data/format/javadocOrderedList.md | 2 +- test/data/format/parameterAnchor.html | 2 +- test/data/format/typeParameterBounds.md | 2 +- test/src/model/FunctionTest.kt | 4 ++-- test/src/model/PropertyTest.kt | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) (limited to 'test') diff --git a/test/data/format/javaDeprecated.html b/test/data/format/javaDeprecated.html index 8410e7ca..9e8958a2 100644 --- a/test/data/format/javaDeprecated.html +++ b/test/data/format/javaDeprecated.html @@ -6,7 +6,7 @@ test / test / Foo / foo

foo

-public open fun foo(): Unit
+open fun foo(): Unit
Deprecated: use #bar instead



diff --git a/test/data/format/javaSupertype.html b/test/data/format/javaSupertype.html index 3a93da0a..2bcc2fce 100644 --- a/test/data/format/javaSupertype.html +++ b/test/data/format/javaSupertype.html @@ -6,7 +6,7 @@ test / test / C / Bar

Bar

-public open class Bar : Foo
+open class Bar : Foo


Functions

diff --git a/test/data/format/javadocHtml.md b/test/data/format/javadocHtml.md index 64b7a5a4..a75ebf35 100644 --- a/test/data/format/javadocHtml.md +++ b/test/data/format/javadocHtml.md @@ -3,7 +3,7 @@ # C -`public open class C` +`open class C` **Bold** **Strong** *Italic* *Emphasized* Paragraph diff --git a/test/data/format/javadocOrderedList.md b/test/data/format/javadocOrderedList.md index ba5935e2..acd3e809 100644 --- a/test/data/format/javadocOrderedList.md +++ b/test/data/format/javadocOrderedList.md @@ -3,7 +3,7 @@ # Bar -`public open class Bar` +`open class Bar` 1. Rinse 1. Repeat diff --git a/test/data/format/parameterAnchor.html b/test/data/format/parameterAnchor.html index 99f0f110..c5920fb7 100644 --- a/test/data/format/parameterAnchor.html +++ b/test/data/format/parameterAnchor.html @@ -6,7 +6,7 @@ test / processFiles

processFiles

-public fun <T> processFiles(processor: () -> T): List<T>
+fun <T> processFiles(processor: () -> T): List<T>

Runs processor for each file and collects its results into single list

Parameters

diff --git a/test/data/format/typeParameterBounds.md b/test/data/format/typeParameterBounds.md index 3962f911..fe597878 100644 --- a/test/data/format/typeParameterBounds.md +++ b/test/data/format/typeParameterBounds.md @@ -3,7 +3,7 @@ # generic -`public fun <T : R, R> generic(): Unit` +`fun <T : R, R> generic(): Unit` generic function diff --git a/test/src/model/FunctionTest.kt b/test/src/model/FunctionTest.kt index bbb7cdbc..80ae223d 100644 --- a/test/src/model/FunctionTest.kt +++ b/test/src/model/FunctionTest.kt @@ -30,7 +30,7 @@ public class FunctionTest { assertEquals("fn", name) assertEquals(DocumentationNode.Kind.Function, kind) assertEquals("Function with receiver", content.summary.toTestString()) - assertEquals("internal", details.elementAt(0).name) + assertEquals("public", details.elementAt(0).name) assertEquals("final", details.elementAt(1).name) with(details.elementAt(2)) { assertEquals("", name) @@ -124,7 +124,7 @@ public class FunctionTest { assertEquals("""Function Documentation""", content.description.toTestString()) - assertEquals("internal", details.elementAt(0).name) + assertEquals("public", details.elementAt(0).name) assertEquals("final", details.elementAt(1).name) with(details.elementAt(2)) { assertEquals("x", name) diff --git a/test/src/model/PropertyTest.kt b/test/src/model/PropertyTest.kt index 38c3160f..405b260f 100644 --- a/test/src/model/PropertyTest.kt +++ b/test/src/model/PropertyTest.kt @@ -56,7 +56,7 @@ public class PropertyTest { assertEquals("String", detail(DocumentationNode.Kind.Type).name) val modifiers = details(DocumentationNode.Kind.Modifier).map { it.name } assertTrue("final" in modifiers) - assertTrue("internal" in modifiers) + assertTrue("public" in modifiers) assertTrue("var" in modifiers) assertTrue(links.none()) assertTrue(members.none()) -- cgit