Skip to content

File tree

1 file changed

+6
-5
lines changed
  • src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github

1 file changed

+6
-5
lines changed

src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github/Github52.kt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ package com.fasterxml.jackson.module.kotlin.test.github
33
import com.fasterxml.jackson.annotation.JsonIgnore
44
import com.fasterxml.jackson.annotation.JsonProperty
55
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
6+
import org.junit.jupiter.api.Test
67
import kotlin.test.assertEquals
78

89
class TestGithub52 {
910
private val mapper = jacksonObjectMapper()
1011

11-
@org.junit.Test
12+
@Test
1213
fun testBooleanPropertyInConstructor() {
1314
data class BooleanPropertyInConstructor(
1415
@JsonProperty("is_bar")
@@ -18,7 +19,7 @@ class TestGithub52 {
1819
assertEquals("""{"is_bar":true}""", mapper.writeValueAsString(BooleanPropertyInConstructor()))
1920
}
2021

21-
@org.junit.Test
22+
@Test
2223
fun testIsPrefixedBooleanPropertyInConstructor() {
2324
data class IsPrefixedBooleanPropertyInConstructor(
2425
@JsonProperty("is_bar2")
@@ -28,7 +29,7 @@ class TestGithub52 {
2829
assertEquals("""{"is_bar2":true}""", mapper.writeValueAsString(IsPrefixedBooleanPropertyInConstructor()))
2930
}
3031

31-
@org.junit.Test
32+
@Test
3233
fun testIsPrefixedStringPropertyInConstructor() {
3334
data class IsPrefixedStringPropertyInConstructor(
3435
@JsonProperty("is_lol")
@@ -38,7 +39,7 @@ class TestGithub52 {
3839
assertEquals("""{"is_lol":"sdf"}""", mapper.writeValueAsString(IsPrefixedStringPropertyInConstructor()))
3940
}
4041

41-
@org.junit.Test
42+
@Test
4243
fun testBooleanPropertyInBody() {
4344
data class BooleanPropertyInBody(
4445
@JsonIgnore val placeholder: String = "placeholder"
@@ -50,7 +51,7 @@ class TestGithub52 {
5051
assertEquals("""{"is_foo":true}""", mapper.writeValueAsString(BooleanPropertyInBody()))
5152
}
5253

53-
@org.junit.Test
54+
@Test
5455
fun testIsPrefixedBooleanPropertyInBody() {
5556
data class IsPrefixedBooleanPropertyInBody(
5657
@JsonIgnore val placeholder: String = "placeholder"

0 commit comments

Comments
 (0)