aboutsummaryrefslogtreecommitdiff
path: root/test/src/model
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/src/model
parente59b4904660be6a04f5e380279627bfabbcb36e6 (diff)
downloaddokka-53a5f01fea44a1456ea30c908b9632e16e046597.tar.gz
dokka-53a5f01fea44a1456ea30c908b9632e16e046597.tar.bz2
dokka-53a5f01fea44a1456ea30c908b9632e16e046597.zip
correctly render qualified names for external classes
Diffstat (limited to 'test/src/model')
-rw-r--r--test/src/model/FunctionTest.kt2
-rw-r--r--test/src/model/PropertyTest.kt2
2 files changed, 2 insertions, 2 deletions
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)