aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-10-28 13:25:57 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-10-29 11:57:23 +0100
commit53a5f01fea44a1456ea30c908b9632e16e046597 (patch)
tree66fdbce1cdf35b280626a9e6d39888cfaf6ef6c7 /test
parente59b4904660be6a04f5e380279627bfabbcb36e6 (diff)
downloaddokka-53a5f01fea44a1456ea30c908b9632e16e046597.tar.gz
dokka-53a5f01fea44a1456ea30c908b9632e16e046597.tar.bz2
dokka-53a5f01fea44a1456ea30c908b9632e16e046597.zip
correctly render qualified names for external classes
Diffstat (limited to 'test')
-rw-r--r--test/data/format/extensions.class.md8
-rw-r--r--test/data/format/extensions.package.md2
-rw-r--r--test/data/format/starProjection.md6
-rw-r--r--test/data/format/typeProjectionVariance.md6
-rw-r--r--test/src/model/FunctionTest.kt2
-rw-r--r--test/src/model/PropertyTest.kt2
6 files changed, 13 insertions, 13 deletions
diff --git a/test/data/format/extensions.class.md b/test/data/format/extensions.class.md
index 33721e67..c66cdb01 100644
--- a/test/data/format/extensions.class.md
+++ b/test/data/format/extensions.class.md
@@ -1,15 +1,15 @@
-[test](test/index) / [foo](test/foo/index) / [String](test/foo/-string/index)
+[test](test/index) / [foo](test/foo/index) / [kotlin.String](test/foo/kotlin.-string/index)
-### Extensions for String
+### Extensions for kotlin.String
-| [fn](test/foo/-string/fn) | `fun String.fn(): Unit`
+| [fn](test/foo/kotlin.-string/fn) | `fun String.fn(): Unit`
`fun String.fn(x:&nbsp;Int): Unit`
Function with receiver
|
-| [foobar](test/foo/-string/foobar) | `val String.foobar: Int`
+| [foobar](test/foo/kotlin.-string/foobar) | `val String.foobar: Int`
Property with receiver.
|
diff --git a/test/data/format/extensions.package.md b/test/data/format/extensions.package.md
index 17829ba0..76ff3676 100644
--- a/test/data/format/extensions.package.md
+++ b/test/data/format/extensions.package.md
@@ -7,5 +7,5 @@
### Extensions for External Classes
-| [String](test/foo/-string/index) | |
+| [kotlin.String](test/foo/kotlin.-string/index) | |
diff --git a/test/data/format/starProjection.md b/test/data/format/starProjection.md
index d6b5e9e5..c9be2f58 100644
--- a/test/data/format/starProjection.md
+++ b/test/data/format/starProjection.md
@@ -1,8 +1,8 @@
-[test](test/index) / [Iterable](test/-iterable/index)
+[test](test/index) / [kotlin.Iterable](test/kotlin.-iterable/index)
-### Extensions for Iterable
+### Extensions for kotlin.Iterable
-| [containsFoo](test/-iterable/contains-foo) | `fun Iterable&lt;*&gt;.containsFoo(element:&nbsp;Any?): Boolean` |
+| [containsFoo](test/kotlin.-iterable/contains-foo) | `fun Iterable&lt;*&gt;.containsFoo(element:&nbsp;Any?): Boolean` |
diff --git a/test/data/format/typeProjectionVariance.md b/test/data/format/typeProjectionVariance.md
index 9812ca3f..7aa34593 100644
--- a/test/data/format/typeProjectionVariance.md
+++ b/test/data/format/typeProjectionVariance.md
@@ -1,8 +1,8 @@
-[test](test/index) / [Array](test/-array/index)
+[test](test/index) / [kotlin.Array](test/kotlin.-array/index)
-### Extensions for Array
+### Extensions for kotlin.Array
-| [foo](test/-array/foo) | `fun &lt;T&gt; Array&lt;out&nbsp;T&gt;.foo(): Unit` |
+| [foo](test/kotlin.-array/foo) | `fun &lt;T&gt; Array&lt;out&nbsp;T&gt;.foo(): Unit` |
diff --git a/test/src/model/FunctionTest.kt b/test/src/model/FunctionTest.kt
index b185e71a..8d1cf609 100644
--- a/test/src/model/FunctionTest.kt
+++ b/test/src/model/FunctionTest.kt
@@ -23,7 +23,7 @@ public class FunctionTest {
@Test fun functionWithReceiver() {
verifyModel("test/data/functions/functionWithReceiver.kt") { model ->
with(model.members.single().members.single()) {
- assertEquals("String", name)
+ assertEquals("kotlin.String", name)
assertEquals(DocumentationNode.Kind.ExternalClass, kind)
assertEquals(2, members.count())
with(members[0]) {
diff --git a/test/src/model/PropertyTest.kt b/test/src/model/PropertyTest.kt
index 310bc0ae..093772b4 100644
--- a/test/src/model/PropertyTest.kt
+++ b/test/src/model/PropertyTest.kt
@@ -80,7 +80,7 @@ public class PropertyTest {
@Test fun propertyWithReceiver() {
verifyModel("test/data/properties/propertyWithReceiver.kt") { model ->
with(model.members.single().members.single()) {
- assertEquals("String", name)
+ assertEquals("kotlin.String", name)
assertEquals(DocumentationNode.Kind.ExternalClass, kind)
with(members.single()) {
assertEquals("foobar", name)