From 4c9952dbfa2d9b304b10d6d3e43e2424e69fdfe8 Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Fri, 12 Jun 2020 12:44:48 +0200 Subject: Fix tests --- .../transformers/ReportUndocumentedTransformerTest.kt | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'plugins/base/src/test/kotlin/transformers') diff --git a/plugins/base/src/test/kotlin/transformers/ReportUndocumentedTransformerTest.kt b/plugins/base/src/test/kotlin/transformers/ReportUndocumentedTransformerTest.kt index 9b6c50da..f05abb1a 100644 --- a/plugins/base/src/test/kotlin/transformers/ReportUndocumentedTransformerTest.kt +++ b/plugins/base/src/test/kotlin/transformers/ReportUndocumentedTransformerTest.kt @@ -458,16 +458,17 @@ class ReportUndocumentedTransformerTest : AbstractCoreTest() { pass { reportUndocumented = true analysisPlatform = Platform.common.toString() - sourceSetName = "commonMain" + sourceSetID = "commonMain" + displayName = "commonMain" sourceRoots = listOf("src/commonMain/kotlin") } pass { reportUndocumented = true analysisPlatform = Platform.jvm.toString() - sourceSetName = "jvmMain" + sourceSetID = "jvmMain" + displayName = "jvmMain" sourceRoots = listOf("src/jvmMain/kotlin") - dependentSourceRoots = listOf("src/commonMain/kotlin") dependentSourceSets = listOf("commonMain") } } @@ -500,16 +501,17 @@ class ReportUndocumentedTransformerTest : AbstractCoreTest() { pass { reportUndocumented = true analysisPlatform = Platform.common.toString() - sourceSetName = "commonMain" + sourceSetID = "commonMain" + displayName = "commonMain" sourceRoots = listOf("src/commonMain/kotlin") } pass { reportUndocumented = true analysisPlatform = Platform.jvm.toString() - sourceSetName = "jvmMain" + sourceSetID = "jvmMain" + displayName = "jvmMain" sourceRoots = listOf("src/jvmMain/kotlin") - dependentSourceRoots = listOf("src/commonMain/kotlin") dependentSourceSets = listOf("commonMain") } } -- cgit