Skip to content

Commit 9606ecc

Browse files
committed
fix: use JUnit 4 imports in test files and add root build config
- Change test imports from JUnit 5 Jupiter to JUnit 4 - Add BUILD.bazel with compiler setup initialization - Add kotlin.bzl with Kotlin compiler and Spring allopen configuration
1 parent bb28e2d commit 9606ecc

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
package hs.kr.entrydsm.example
22

3-
import org.junit.jupiter.api.Assertions.assertEquals
4-
import org.junit.jupiter.api.Test
3+
import org.junit.Assert.assertEquals
4+
import org.junit.Test
55

66
class ExampleApplicationTest {
77
@Test
88
fun contextLoads() {
9-
// Spring Boot context loading test
109
assertEquals(4, 2 + 2)
1110
}
1211
}
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
package hs.kr.entrydsm.example
22

3-
import org.junit.jupiter.api.Assertions.assertEquals
4-
import org.junit.jupiter.api.Test
3+
import org.junit.Assert.assertEquals
4+
import org.junit.Test
55

66
class ExampleApplicationTest {
77
@Test
88
fun contextLoads() {
9-
// Spring Boot context loading test
109
assertEquals(4, 2 + 2)
1110
}
1211
}

0 commit comments

Comments
 (0)