aboutsummaryrefslogtreecommitdiff
path: root/testApi
diff options
context:
space:
mode:
Diffstat (limited to 'testApi')
-rw-r--r--testApi/src/main/kotlin/testApi/testRunner/DokkaTestGenerator.kt2
-rw-r--r--testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt16
2 files changed, 14 insertions, 4 deletions
diff --git a/testApi/src/main/kotlin/testApi/testRunner/DokkaTestGenerator.kt b/testApi/src/main/kotlin/testApi/testRunner/DokkaTestGenerator.kt
index 33f0aff8..ddee7083 100644
--- a/testApi/src/main/kotlin/testApi/testRunner/DokkaTestGenerator.kt
+++ b/testApi/src/main/kotlin/testApi/testRunner/DokkaTestGenerator.kt
@@ -1,4 +1,4 @@
-package testApi.testRunner
+package org.jetbrains.dokka.testApi.testRunner
import org.jetbrains.dokka.DokkaConfiguration
import org.jetbrains.dokka.DokkaGenerator
diff --git a/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt b/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt
index 485567ac..4c754211 100644
--- a/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt
+++ b/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt
@@ -1,4 +1,4 @@
-package testApi.testRunner
+package org.jetbrains.dokka.testApi.testRunner
import org.jetbrains.dokka.*
import org.jetbrains.dokka.model.Module
@@ -38,7 +38,12 @@ abstract class AbstractCoreTest {
configuration.copy(
outputDir = tempDir.root.toPath().toAbsolutePath().toString()
)
- DokkaTestGenerator(newConfiguration, logger, testMethods, pluginOverrides).generate()
+ DokkaTestGenerator(
+ newConfiguration,
+ logger,
+ testMethods,
+ pluginOverrides
+ ).generate()
}
protected fun testInline(
@@ -61,7 +66,12 @@ abstract class AbstractCoreTest {
passesConfigurations = configuration.passesConfigurations
.map { it.copy(sourceRoots = it.sourceRoots.map { it.copy(path = "${testDirPath.toAbsolutePath()}/${it.path}") }) }
)
- DokkaTestGenerator(newConfiguration, logger, testMethods, pluginOverrides).generate()
+ DokkaTestGenerator(
+ newConfiguration,
+ logger,
+ testMethods,
+ pluginOverrides
+ ).generate()
}
private fun String.toFileMap(): Map<String, String> = this.trimMargin().removePrefix("|")