diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-08-13 19:54:42 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-14 17:51:11 +0200 |
commit | e3bf37c0ef8c88755f1d2d15d3ba6d07d649e005 (patch) | |
tree | bacc8f11a07b781e61a0dac3612ce0f3b43c2a1d /runners/gradle-plugin/src/test | |
parent | b29a136721e28e0d6ca5c39d9180020e444b9d30 (diff) | |
download | dokka-e3bf37c0ef8c88755f1d2d15d3ba6d07d649e005.tar.gz dokka-e3bf37c0ef8c88755f1d2d15d3ba6d07d649e005.tar.bz2 dokka-e3bf37c0ef8c88755f1d2d15d3ba6d07d649e005.zip |
Use List for representing classpaths instead of Set
Diffstat (limited to 'runners/gradle-plugin/src/test')
3 files changed, 3 insertions, 3 deletions
diff --git a/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/ConfigureWithKotlinSourceSetGistTest.kt b/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/ConfigureWithKotlinSourceSetGistTest.kt index d8545ab3..13ba9622 100644 --- a/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/ConfigureWithKotlinSourceSetGistTest.kt +++ b/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/ConfigureWithKotlinSourceSetGistTest.kt @@ -46,7 +46,7 @@ class ConfigureWithKotlinSourceSetGistTest { ) assertEquals( - setOf(f1Jar, f2Jar), sourceSet.build().classpath, + listOf(f1Jar, f2Jar), sourceSet.build().classpath, "Expected classpath being present" ) diff --git a/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTaskTest.kt b/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTaskTest.kt index d7f0e946..7885cea1 100644 --- a/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTaskTest.kt +++ b/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTaskTest.kt @@ -54,7 +54,7 @@ class DokkaCollectorTaskTest { .map { it.sourceSets } .reduce { acc, list -> acc + list }, pluginsClasspath = task.childDokkaTasks - .map { it.plugins.resolve() } + .map { it.plugins.resolve().toList() } .reduce { acc, mutableSet -> acc + mutableSet } ), dokkaConfiguration diff --git a/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTaskTest.kt b/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTaskTest.kt index 1e444d80..62c867ba 100644 --- a/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTaskTest.kt +++ b/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTaskTest.kt @@ -73,7 +73,7 @@ class DokkaMultiModuleTaskTest { outputDir = task.project.buildDir.resolve("customOutputDirectory"), cacheRoot = File("customCacheRoot"), pluginsConfiguration = mapOf("pluginA" to "configA"), - pluginsClasspath = emptySet(), + pluginsClasspath = emptyList(), failOnWarning = true, offlineMode = true, modules = listOf( |