From 044308ba60a0d4462ccb7388f16ad17a31d7450d Mon Sep 17 00:00:00 2001 From: Ilya Ryzhenkov Date: Fri, 11 Jul 2014 20:49:04 +0400 Subject: Complete package migration and move files into folders. --- test/src/ClassTest.kt | 2 +- test/src/FunctionTest.kt | 3 +-- test/src/PackageTest.kt | 2 +- test/src/PropertyTest.kt | 3 +-- test/src/TestAPI.kt | 4 ++-- 5 files changed, 6 insertions(+), 8 deletions(-) (limited to 'test') diff --git a/test/src/ClassTest.kt b/test/src/ClassTest.kt index ae9de5a2..708a1798 100644 --- a/test/src/ClassTest.kt +++ b/test/src/ClassTest.kt @@ -2,7 +2,7 @@ package org.jetbrains.dokka.tests import org.junit.Test import kotlin.test.* -import com.jetbrains.dokka.* +import org.jetbrains.dokka.* public class ClassTest { Test fun emptyClass() { diff --git a/test/src/FunctionTest.kt b/test/src/FunctionTest.kt index 3eeb4174..90b937de 100644 --- a/test/src/FunctionTest.kt +++ b/test/src/FunctionTest.kt @@ -2,8 +2,7 @@ package org.jetbrains.dokka.tests import org.junit.Test import kotlin.test.* -import com.jetbrains.dokka.* - +import org.jetbrains.dokka.* public class FunctionTest { Test fun function() { diff --git a/test/src/PackageTest.kt b/test/src/PackageTest.kt index 01e42949..7b376012 100644 --- a/test/src/PackageTest.kt +++ b/test/src/PackageTest.kt @@ -2,7 +2,7 @@ package org.jetbrains.dokka.tests import org.junit.Test import kotlin.test.* -import com.jetbrains.dokka.* +import org.jetbrains.dokka.* public class PackageTest { Test fun rootPackage() { diff --git a/test/src/PropertyTest.kt b/test/src/PropertyTest.kt index 6fa17168..1d30f2ce 100644 --- a/test/src/PropertyTest.kt +++ b/test/src/PropertyTest.kt @@ -2,8 +2,7 @@ package org.jetbrains.dokka.tests import org.junit.Test import kotlin.test.* -import com.jetbrains.dokka.* - +import org.jetbrains.dokka.* public class PropertyTest { Test fun valueProperty() { 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()) } -- cgit