aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin/src/test/kotlin
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-08-13 19:54:42 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-14 17:51:11 +0200
commite3bf37c0ef8c88755f1d2d15d3ba6d07d649e005 (patch)
treebacc8f11a07b781e61a0dac3612ce0f3b43c2a1d /runners/gradle-plugin/src/test/kotlin
parentb29a136721e28e0d6ca5c39d9180020e444b9d30 (diff)
downloaddokka-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/kotlin')
-rw-r--r--runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/ConfigureWithKotlinSourceSetGistTest.kt2
-rw-r--r--runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTaskTest.kt2
-rw-r--r--runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTaskTest.kt2
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(