diff options
Diffstat (limited to 'test/src/TestAPI.kt')
-rw-r--r-- | test/src/TestAPI.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/TestAPI.kt b/test/src/TestAPI.kt index d5466b88..65254bca 100644 --- a/test/src/TestAPI.kt +++ b/test/src/TestAPI.kt @@ -2,8 +2,8 @@ package org.jetbrains.dokka.tests import org.jetbrains.jet.cli.common.messages.* import com.intellij.openapi.util.* -import com.jetbrains.dokka.* import kotlin.test.fail +import org.jetbrains.dokka.* public fun verifyModel(vararg files: String, verifier: (DocumentationModel) -> Unit) { val messageCollector = object : MessageCollector { @@ -23,7 +23,7 @@ public fun verifyModel(vararg files: String, verifier: (DocumentationModel) -> U } } - val environment = AnalysesEnvironment(messageCollector) { + val environment = AnalysisEnvironment(messageCollector) { addSources(files.toList()) } |