Skip to content

Commit e021d35

Browse files
committed
Replace Junit with kotlin.test
1 parent a56f629 commit e021d35

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
lines changed

hll/hll-codegen/build.gradle.kts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ dependencies {
3030
api(project(":aws-runtime:aws-core"))
3131
implementation(libs.ksp.api)
3232
implementation(libs.smithy.kotlin.runtime.core)
33-
34-
testImplementation(libs.junit.jupiter)
35-
testImplementation(libs.junit.jupiter.params)
36-
testImplementation(libs.kotest.assertions.core.jvm)
37-
testImplementation(libs.kotlin.test.junit5)
33+
testImplementation(kotlin("test"))
3834
}
3935

4036
val sourcesJar by tasks.creating(Jar::class) {

hll/hll-codegen/src/test/kotlin/aws/sdk/kotlin/hll/codegen/core/TemplateEngineTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*/
55
package aws.sdk.kotlin.hll.codegen.core
66

7-
import org.junit.jupiter.api.Assertions.assertEquals
8-
import org.junit.jupiter.api.Test
7+
import kotlin.test.assertEquals
8+
import kotlin.test.Test
99
import kotlin.test.assertFailsWith
1010

1111
class TemplateEngineTest {

hll/hll-codegen/src/test/kotlin/aws/sdk/kotlin/hll/codegen/core/TemplateProcessorTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ package aws.sdk.kotlin.hll.codegen.core
66

77
import aws.sdk.kotlin.hll.codegen.model.TypeRef
88
import aws.sdk.kotlin.hll.codegen.model.TypeVar
9-
import org.junit.jupiter.api.Assertions.assertEquals
10-
import org.junit.jupiter.api.Test
9+
import kotlin.test.assertEquals
10+
import kotlin.test.Test
1111
import kotlin.test.assertContains
1212

1313
class TemplateProcessorTest {

hll/hll-codegen/src/test/kotlin/aws/sdk/kotlin/hll/codegen/util/StringsTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*/
55
package aws.sdk.kotlin.hll.codegen.util
66

7-
import org.junit.jupiter.api.Assertions.assertEquals
8-
import org.junit.jupiter.api.Test
7+
import kotlin.test.assertEquals
8+
import kotlin.test.Test
99

1010
class StringsTest {
1111
@Test

0 commit comments

Comments
 (0)