aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-11 23:47:29 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-11 23:47:29 +0400
commit1fc5f504c77e98f80c7f6921e26ca7c9463c8bf3 (patch)
tree3b55cb9949db0e432051401ba76526494ef95c1a /test
parentcec0fc9f3eaa5df8fc2654ce90d87b9be48b16c0 (diff)
downloaddokka-1fc5f504c77e98f80c7f6921e26ca7c9463c8bf3.tar.gz
dokka-1fc5f504c77e98f80c7f6921e26ca7c9463c8bf3.tar.bz2
dokka-1fc5f504c77e98f80c7f6921e26ca7c9463c8bf3.zip
Create resolution scopes for all entities to resolve names inside doc-comments.
Diffstat (limited to 'test')
-rw-r--r--test/src/TestAPI.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/TestAPI.kt b/test/src/TestAPI.kt
index e5669569..282697da 100644
--- a/test/src/TestAPI.kt
+++ b/test/src/TestAPI.kt
@@ -28,7 +28,7 @@ public fun verifyModel(vararg files: String, verifier: (DocumentationModel) -> U
}
val result = environment.processFiles { context, file ->
- context.createSourceModel(file)
+ context.createDocumentationModel(file)
}.fold(DocumentationModel()) {(aggregate, item) -> aggregate.merge(item) }
verifier(result)
Disposer.dispose(environment)