aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/basic/DRITest.kt
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-06-30 23:06:03 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-06 17:59:15 +0200
commitb0e8622f374f6499058b0f083367b4a54512b702 (patch)
tree0fa641dc26bf1e7ed6497ee2340999e8ecc505ad /plugins/base/src/test/kotlin/basic/DRITest.kt
parentb0b418334535adc60ee80c3df1b2293dfcaad071 (diff)
downloaddokka-b0e8622f374f6499058b0f083367b4a54512b702.tar.gz
dokka-b0e8622f374f6499058b0f083367b4a54512b702.tar.bz2
dokka-b0e8622f374f6499058b0f083367b4a54512b702.zip
Enforce workspace unique SourceSetID
Diffstat (limited to 'plugins/base/src/test/kotlin/basic/DRITest.kt')
-rw-r--r--plugins/base/src/test/kotlin/basic/DRITest.kt40
1 files changed, 20 insertions, 20 deletions
diff --git a/plugins/base/src/test/kotlin/basic/DRITest.kt b/plugins/base/src/test/kotlin/basic/DRITest.kt
index 1f4c7d93..559a2dbf 100644
--- a/plugins/base/src/test/kotlin/basic/DRITest.kt
+++ b/plugins/base/src/test/kotlin/basic/DRITest.kt
@@ -5,19 +5,19 @@ import org.jetbrains.dokka.links.Callable
import org.jetbrains.dokka.links.Nullable
import org.jetbrains.dokka.links.TypeConstructor
import org.jetbrains.dokka.model.*
-import org.jetbrains.dokka.pages.*
-import org.jetbrains.dokka.pages.dfs
-import org.junit.jupiter.api.Assertions.assertEquals
+import org.jetbrains.dokka.pages.ClasslikePageNode
+import org.jetbrains.dokka.pages.ContentPage
+import org.jetbrains.dokka.pages.MemberPageNode
import org.jetbrains.dokka.testApi.testRunner.AbstractCoreTest
-
+import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
class DRITest : AbstractCoreTest() {
@Test
fun issue634() {
val configuration = dokkaConfiguration {
- passes {
- pass {
+ sourceSets {
+ sourceSet {
sourceRoots = listOf("src/")
}
}
@@ -52,8 +52,8 @@ class DRITest : AbstractCoreTest() {
@Test
fun issue634WithImmediateNullableSelf() {
val configuration = dokkaConfiguration {
- passes {
- pass {
+ sourceSets {
+ sourceSet {
sourceRoots = listOf("src/")
}
}
@@ -82,8 +82,8 @@ class DRITest : AbstractCoreTest() {
@Test
fun issue634WithGenericNullableReceiver() {
val configuration = dokkaConfiguration {
- passes {
- pass {
+ sourceSets {
+ sourceSet {
sourceRoots = listOf("src/")
}
}
@@ -112,8 +112,8 @@ class DRITest : AbstractCoreTest() {
@Test
fun issue642WithStarAndAny() {
val configuration = dokkaConfiguration {
- passes {
- pass {
+ sourceSets {
+ sourceSet {
analysisPlatform = "js"
sourceRoots = listOf("src/")
}
@@ -171,8 +171,8 @@ class DRITest : AbstractCoreTest() {
@Test
fun driForGenericClass(){
val configuration = dokkaConfiguration {
- passes {
- pass {
+ sourceSets {
+ sourceSet {
sourceRoots = listOf("src/")
}
}
@@ -201,8 +201,8 @@ class DRITest : AbstractCoreTest() {
@Test
fun driForGenericFunction(){
val configuration = dokkaConfiguration {
- passes {
- pass {
+ sourceSets {
+ sourceSet {
sourceRoots = listOf("src/")
classpath = listOfNotNull(jvmStdlibPath)
}
@@ -243,8 +243,8 @@ class DRITest : AbstractCoreTest() {
@Test
fun driForFunctionNestedInsideInnerClass() {
val configuration = dokkaConfiguration {
- passes {
- pass {
+ sourceSets {
+ sourceSet {
sourceRoots = listOf("src/")
classpath = listOfNotNull(jvmStdlibPath)
}
@@ -280,8 +280,8 @@ class DRITest : AbstractCoreTest() {
@Test
fun driForGenericExtensionFunction(){
val configuration = dokkaConfiguration {
- passes {
- pass {
+ sourceSets {
+ sourceSet {
sourceRoots = listOf("src/")
}
}