diff options
Diffstat (limited to 'plugins/base/src/test')
3 files changed, 15 insertions, 14 deletions
diff --git a/plugins/base/src/test/kotlin/content/signatures/SkippingParenthesisForConstructorsTest.kt b/plugins/base/src/test/kotlin/content/signatures/SkippingParenthesisForConstructorsTest.kt index b96b5b46..05c408ab 100644 --- a/plugins/base/src/test/kotlin/content/signatures/SkippingParenthesisForConstructorsTest.kt +++ b/plugins/base/src/test/kotlin/content/signatures/SkippingParenthesisForConstructorsTest.kt @@ -12,7 +12,6 @@ class ConstructorsSignaturesTest : AbstractCoreTest() { pass { sourceRoots = listOf("src/") analysisPlatform = "jvm" - targets = listOf("jvm") } } } diff --git a/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt b/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt index d49ec8a5..c2596ba3 100644 --- a/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt +++ b/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt @@ -30,7 +30,7 @@ class LinkableContentTest : AbstractCoreTest() { sourceRoots = listOf("jsMain", "commonMain", "jvmAndJsSecondCommonMain").map { Paths.get("$testDataDir/$it/kotlin").toString() } - sourceSetName = "js" + sourceSetID = "js" includes = listOf(Paths.get("$includesDir/include2.md").toString()) } pass { @@ -39,7 +39,7 @@ class LinkableContentTest : AbstractCoreTest() { sourceRoots = listOf("jvmMain", "commonMain", "jvmAndJsSecondCommonMain").map { Paths.get("$testDataDir/$it/kotlin").toString() } - sourceSetName = "jvm" + sourceSetID = "jvm" includes = listOf(Paths.get("$includesDir/include1.md").toString()) } } @@ -74,7 +74,7 @@ class LinkableContentTest : AbstractCoreTest() { lineSuffix = "#L" ) ) - sourceSetName = "js" + sourceSetID = "js" } pass { moduleName = "example" @@ -87,7 +87,7 @@ class LinkableContentTest : AbstractCoreTest() { lineSuffix = "#L" ) ) - sourceSetName = "jvm" + sourceSetID = "jvm" } } } @@ -130,14 +130,14 @@ class LinkableContentTest : AbstractCoreTest() { moduleName = "example" analysisPlatform = "js" sourceRoots = listOf("$testDataDir/jsMain/kotlin") - sourceSetName = "js" + sourceSetID = "js" samples = listOf("$testDataDir/jsMain/resources/Samples.kt") } pass { moduleName = "example" analysisPlatform = "jvm" sourceRoots = listOf("$testDataDir/jvmMain/kotlin") - sourceSetName = "jvm" + sourceSetID = "jvm" samples = listOf("$testDataDir/jvmMain/resources/Samples.kt") } } @@ -193,7 +193,7 @@ class LinkableContentTest : AbstractCoreTest() { pass { sourceRoots = listOf("src/") analysisPlatform = "jvm" - sourceSetName = "js" + sourceSetID = "js" } } } 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") } } |