aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/basic
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/test/kotlin/basic')
-rw-r--r--plugins/base/src/test/kotlin/basic/AbortGracefullyOnMissingDocumentablesTest.kt2
-rw-r--r--plugins/base/src/test/kotlin/basic/DRITest.kt5
-rw-r--r--plugins/base/src/test/kotlin/basic/DokkaBasicTests.kt2
-rw-r--r--plugins/base/src/test/kotlin/basic/FailOnWarningTest.kt8
-rw-r--r--plugins/base/src/test/kotlin/basic/LoggerTest.kt4
5 files changed, 10 insertions, 11 deletions
diff --git a/plugins/base/src/test/kotlin/basic/AbortGracefullyOnMissingDocumentablesTest.kt b/plugins/base/src/test/kotlin/basic/AbortGracefullyOnMissingDocumentablesTest.kt
index 70d26e3c..81139300 100644
--- a/plugins/base/src/test/kotlin/basic/AbortGracefullyOnMissingDocumentablesTest.kt
+++ b/plugins/base/src/test/kotlin/basic/AbortGracefullyOnMissingDocumentablesTest.kt
@@ -2,7 +2,7 @@ package basic
import org.jetbrains.dokka.DokkaGenerator
import org.jetbrains.dokka.base.testApi.testRunner.BaseAbstractTest
-import org.junit.jupiter.api.Test
+import kotlin.test.Test
import kotlin.test.assertTrue
class AbortGracefullyOnMissingDocumentablesTest: BaseAbstractTest() {
diff --git a/plugins/base/src/test/kotlin/basic/DRITest.kt b/plugins/base/src/test/kotlin/basic/DRITest.kt
index c70c1b0b..794adc9f 100644
--- a/plugins/base/src/test/kotlin/basic/DRITest.kt
+++ b/plugins/base/src/test/kotlin/basic/DRITest.kt
@@ -9,9 +9,8 @@ import org.jetbrains.dokka.model.*
import org.jetbrains.dokka.pages.ClasslikePageNode
import org.jetbrains.dokka.pages.ContentPage
import org.jetbrains.dokka.pages.MemberPageNode
-import org.junit.jupiter.api.Assertions.assertEquals
-import org.junit.jupiter.api.Tag
-import org.junit.jupiter.api.Test
+import kotlin.test.Test
+import kotlin.test.assertEquals
class DRITest : BaseAbstractTest() {
@Test
diff --git a/plugins/base/src/test/kotlin/basic/DokkaBasicTests.kt b/plugins/base/src/test/kotlin/basic/DokkaBasicTests.kt
index d4e307be..dca0ffd5 100644
--- a/plugins/base/src/test/kotlin/basic/DokkaBasicTests.kt
+++ b/plugins/base/src/test/kotlin/basic/DokkaBasicTests.kt
@@ -3,7 +3,7 @@ package basic
import org.jetbrains.dokka.base.testApi.testRunner.BaseAbstractTest
import org.jetbrains.dokka.pages.ClasslikePageNode
import org.jetbrains.dokka.pages.ModulePageNode
-import org.junit.jupiter.api.Test
+import kotlin.test.Test
import kotlin.test.assertEquals
class DokkaBasicTests : BaseAbstractTest() {
diff --git a/plugins/base/src/test/kotlin/basic/FailOnWarningTest.kt b/plugins/base/src/test/kotlin/basic/FailOnWarningTest.kt
index bd8a79ef..1ea2adfd 100644
--- a/plugins/base/src/test/kotlin/basic/FailOnWarningTest.kt
+++ b/plugins/base/src/test/kotlin/basic/FailOnWarningTest.kt
@@ -6,8 +6,8 @@ import org.jetbrains.dokka.testApi.logger.TestLogger
import org.jetbrains.dokka.utilities.DokkaConsoleLogger
import org.jetbrains.dokka.utilities.DokkaLogger
import org.jetbrains.dokka.utilities.LoggingLevel
-import org.junit.jupiter.api.Test
-import org.junit.jupiter.api.assertThrows
+import kotlin.test.Test
+import kotlin.test.assertFailsWith
class FailOnWarningTest : BaseAbstractTest() {
@@ -22,7 +22,7 @@ class FailOnWarningTest : BaseAbstractTest() {
}
}
- assertThrows<DokkaException> {
+ assertFailsWith<DokkaException> {
testInline(
"""
|/src/main/kotlin/Bar.kt
@@ -48,7 +48,7 @@ class FailOnWarningTest : BaseAbstractTest() {
}
}
- assertThrows<DokkaException> {
+ assertFailsWith<DokkaException> {
testInline(
"""
|/src/main/kotlin/Bar.kt
diff --git a/plugins/base/src/test/kotlin/basic/LoggerTest.kt b/plugins/base/src/test/kotlin/basic/LoggerTest.kt
index 92ffb539..904645ad 100644
--- a/plugins/base/src/test/kotlin/basic/LoggerTest.kt
+++ b/plugins/base/src/test/kotlin/basic/LoggerTest.kt
@@ -3,7 +3,7 @@ package basic
import org.jetbrains.dokka.utilities.DokkaConsoleLogger
import org.jetbrains.dokka.utilities.LoggingLevel
import org.jetbrains.dokka.utilities.MessageEmitter
-import org.junit.jupiter.api.Test
+import kotlin.test.Test
import kotlin.test.assertFalse
import kotlin.test.assertTrue
@@ -41,4 +41,4 @@ class LoggerTest {
assertFalse(emitter.messages.any { it.contains("Info!") })
assertTrue(emitter.messages.any { it.contains("Warning!") })
}
-} \ No newline at end of file
+}