From ecadf405143811776f46142e7c97cc33380efb68 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Fri, 20 Feb 2015 14:44:30 +0100 Subject: allow a LocationService to take a qualified name directly, not just a DocumentationNode --- test/src/TestAPI.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/src') 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, hasMembers: Boolean) = + InMemoryLocation(relativePathToNode(qualifiedName, hasMembers)) } val tempLocation = InMemoryLocation("") -- cgit