File tree Expand file tree Collapse file tree 3 files changed +16
-19
lines changed
src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github Expand file tree Collapse file tree 3 files changed +16
-19
lines changed Original file line number Diff line number Diff line change 170170 <plugin >
171171 <groupId >org.apache.maven.plugins</groupId >
172172 <artifactId >maven-surefire-plugin</artifactId >
173+ <configuration >
174+ <includes >
175+ <!--
176+ This setting is necessary because the project includes tests that do not match the default run target class name.
177+ https://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html#inclusions
178+ -->
179+ <include >com.fasterxml.jackson.module.kotlin.**</include >
180+ </includes >
181+ </configuration >
173182 </plugin >
174183 <plugin >
175184 <!-- Inherited from oss-base. Generate PackageVersion.java.-->
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ WrongWrong (@k163377)
2828* #839 : Remove useKotlinPropertyNameForGetter and unify with kotlinPropertyNameAsImplicitName
2929* #835 : Remove old SingletonSupport class and unified with KotlinFeature.SingletonSupport
3030
31+ # 2 .18.3 (not yet released)
32+
33+ WrongWrong (@k163377 )
34+ * #900 : Fixed an issue where some tests were not running
35+
3136# 2 .18.0 (26-Sep-2024)
3237
3338WrongWrong (@k163377 )
Original file line number Diff line number Diff line change @@ -48,26 +48,9 @@ class GitHub625 {
4848
4949 @Test
5050 fun failing () {
51- val writer = jacksonObjectMapper().testPrettyWriter()
51+ val writer = jacksonObjectMapper()
5252 val json = writer.writeValueAsString(FailingDto ())
5353
54- assertNotEquals(" { }" , json)
55- assertEquals(
56- """
57- {
58- "nullableObject1" : null,
59- "nullableObject2" : null,
60- "map" : {
61- "nullableObject" : null
62- },
63- "mapGetter" : {
64- "nullableObject" : null
65- },
66- "nullableObjectGetter2" : null,
67- "nullableObjectGetter1" : null
68- }
69- """ .trimIndent(),
70- json
71- )
54+ assertNotEquals(" {}" , json)
7255 }
7356}
You can’t perform that action at this time.
0 commit comments