File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
src/test/kotlin/com/fasterxml/jackson/module/kotlin/test Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import com.fasterxml.jackson.core.exc.InputCoercionException
4
4
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
5
5
import com.fasterxml.jackson.module.kotlin.readValue
6
6
import org.junit.jupiter.api.Assertions.assertThrows
7
+ import org.junit.jupiter.api.Nested
7
8
import org.junit.jupiter.api.Test
8
9
import java.math.BigInteger
9
10
import kotlin.test.assertEquals
@@ -13,7 +14,8 @@ internal class UnsignedNumbersOnKeyTest {
13
14
val MAPPER = jacksonObjectMapper()
14
15
}
15
16
16
- class ForUByte {
17
+ @Nested
18
+ inner class ForUByte {
17
19
private fun makeSrc (v : Int ): String = MAPPER .writeValueAsString(mapOf (v to 0 ))
18
20
19
21
@Test
@@ -37,7 +39,8 @@ internal class UnsignedNumbersOnKeyTest {
37
39
}
38
40
}
39
41
40
- class ForUShort {
42
+ @Nested
43
+ inner class ForUShort {
41
44
private fun makeSrc (v : Int ): String = MAPPER .writeValueAsString(mapOf (v to 0 ))
42
45
43
46
@Test
@@ -61,7 +64,8 @@ internal class UnsignedNumbersOnKeyTest {
61
64
}
62
65
}
63
66
64
- class ForUInt {
67
+ @Nested
68
+ inner class ForUInt {
65
69
private fun makeSrc (v : Long ): String = MAPPER .writeValueAsString(mapOf (v to 0 ))
66
70
67
71
@Test
@@ -85,7 +89,8 @@ internal class UnsignedNumbersOnKeyTest {
85
89
}
86
90
}
87
91
88
- class ForULong {
92
+ @Nested
93
+ inner class ForULong {
89
94
private fun makeSrc (v : BigInteger ): String = MAPPER .writeValueAsString(mapOf (v to 0 ))
90
95
91
96
@Test
You can’t perform that action at this time.
0 commit comments