File tree Expand file tree Collapse file tree
src/test/java/tools/jackson/dataformat/xml Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66import java .util .stream .Collectors ;
77import java .util .stream .Stream ;
88
9- import tools .jackson .dataformat .xml .XmlMapper ;
10- import tools .jackson .dataformat .xml .XmlTestUtil ;
9+ import tools .jackson .dataformat .xml .*;
1110
1211import static org .junit .jupiter .api .Assertions .assertEquals ;
1312
Original file line number Diff line number Diff line change 22
33import org .junit .jupiter .api .Test ;
44
5- import tools .jackson .dataformat .xml .XmlMapper ;
6- import tools .jackson .dataformat .xml .XmlTestUtil ;
5+ import tools .jackson .dataformat .xml .*;
76import tools .jackson .dataformat .xml .annotation .JacksonXmlProperty ;
87import tools .jackson .dataformat .xml .annotation .JacksonXmlText ;
98import tools .jackson .dataformat .xml .testutil .failure .JacksonTestFailureExpected ;
109
11- import static org .junit .jupiter .api .Assertions .assertEquals ;
10+ import static org .junit .jupiter .api .Assertions .* ;
1211
1312// [dataformat-xml#734]
1413public class XmlRecordDeser734Test extends XmlTestUtil
1514{
16-
1715 record Amount (@ JacksonXmlText String value ,
1816 @ JacksonXmlProperty (isAttribute = true , localName = "Ccy" ) String currency ) {}
1917
Original file line number Diff line number Diff line change 1616public class XmlWrapperRecord517Test
1717 extends XmlTestUtil
1818{
19-
2019 public record Request (
2120 @ JacksonXmlElementWrapper (localName = "messages" )
2221 @ JacksonXmlProperty (localName = "message" )
2322 List <Message > messages
2423 ) {
2524 public Request {}
2625
27- Request () {this (null );}
26+ protected Request () {this (null );}
2827 }
2928
3029 public record Message (String text ) {
3130 public Message {
3231 }
3332
34- Message () {
33+ protected Message () {
3534 this (null );
3635 }
3736 }
You can’t perform that action at this time.
0 commit comments