diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-20 14:44:30 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-20 14:44:30 +0100 |
commit | ecadf405143811776f46142e7c97cc33380efb68 (patch) | |
tree | c03992fcd662e333cdc360a44a6e5d3b9ebb6120 /test/src | |
parent | 85a3ae7626810113816fd31a0e26d44d48308ed2 (diff) | |
download | dokka-ecadf405143811776f46142e7c97cc33380efb68.tar.gz dokka-ecadf405143811776f46142e7c97cc33380efb68.tar.bz2 dokka-ecadf405143811776f46142e7c97cc33380efb68.zip |
allow a LocationService to take a qualified name directly, not just a DocumentationNode
Diffstat (limited to 'test/src')
-rw-r--r-- | test/src/TestAPI.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/src/TestAPI.kt b/test/src/TestAPI.kt index 285ffa28..33688053 100644 --- a/test/src/TestAPI.kt +++ b/test/src/TestAPI.kt @@ -105,7 +105,8 @@ class InMemoryLocation(override val path: String): Location { } object InMemoryLocationService: LocationService { - override fun location(node: DocumentationNode) = InMemoryLocation(relativePathToNode(node)) + override fun location(qualifiedName: List<String>, hasMembers: Boolean) = + InMemoryLocation(relativePathToNode(qualifiedName, hasMembers)) } val tempLocation = InMemoryLocation("") |