diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-08-28 18:24:11 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-31 15:10:04 +0200 |
commit | 8bae1b84fabce1eae68a6bd9464c5a13a03b36d4 (patch) | |
tree | ec222e6375f7282566b4770ae06fce76b529c174 /plugins/base/src/test/kotlin/transformers/ContextModuleAndPackageDocumentationReaderTest3.kt | |
parent | c75185e229c7e8bf8e2d894d08d1d0159cd60094 (diff) | |
download | dokka-8bae1b84fabce1eae68a6bd9464c5a13a03b36d4.tar.gz dokka-8bae1b84fabce1eae68a6bd9464c5a13a03b36d4.tar.bz2 dokka-8bae1b84fabce1eae68a6bd9464c5a13a03b36d4.zip |
Implement dPackage and dModule test APIs in favour of default params in DModule and DPackage
Diffstat (limited to 'plugins/base/src/test/kotlin/transformers/ContextModuleAndPackageDocumentationReaderTest3.kt')
-rw-r--r-- | plugins/base/src/test/kotlin/transformers/ContextModuleAndPackageDocumentationReaderTest3.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/base/src/test/kotlin/transformers/ContextModuleAndPackageDocumentationReaderTest3.kt b/plugins/base/src/test/kotlin/transformers/ContextModuleAndPackageDocumentationReaderTest3.kt index a557379b..9319f5af 100644 --- a/plugins/base/src/test/kotlin/transformers/ContextModuleAndPackageDocumentationReaderTest3.kt +++ b/plugins/base/src/test/kotlin/transformers/ContextModuleAndPackageDocumentationReaderTest3.kt @@ -8,6 +8,7 @@ import org.jetbrains.dokka.utilities.DokkaConsoleLogger import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import testApi.testRunner.TestDokkaConfigurationBuilder +import testApi.testRunner.dPackage import testApi.testRunner.dokkaConfiguration import testApi.testRunner.sourceSet import kotlin.test.assertEquals @@ -48,7 +49,7 @@ class ContextModuleAndPackageDocumentationReaderTest3 : AbstractContextModuleAnd @Test fun `root package is matched by empty string and the root keyword`() { - val documentation = reader[DPackage(DRI(""), sourceSets = setOf(sourceSet))] + val documentation = reader[dPackage(DRI(""), sourceSets = setOf(sourceSet))] assertEquals( listOf("This is the root package", "This is also the root package"), documentation.texts ) |