File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed 
test-jdk17/java/com/fasterxml/jackson/dataformat/xml 
test/java/com/fasterxml/jackson/dataformat/xml/lists Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11package  com .fasterxml .jackson .dataformat .xml .jdk17 ;
22
3+ import  org .junit .jupiter .api .Test ;
4+ 
35import  java .util .List ;
46import  java .util .stream .Collectors ;
57import  java .util .stream .Stream ;
@@ -11,6 +13,7 @@ public class Java17CollectionsTest extends XmlTestBase
1113{
1214    private  final  XmlMapper  _xmlMapper  = new  XmlMapper ();
1315
16+     @ Test 
1417    public  void  testStreamOf ()
1518            throws  Exception 
1619    {
Original file line number Diff line number Diff line change 22
33import  java .util .List ;
44
5- import  org .junit .Test ;
5+ import  org .junit .jupiter . api . Test ;
66
77import  com .fasterxml .jackson .dataformat .xml .XmlTestBase ;
88import  com .fasterxml .jackson .dataformat .xml .annotation .JacksonXmlElementWrapper ;
99import  com .fasterxml .jackson .dataformat .xml .annotation .JacksonXmlProperty ;
10+ import  com .fasterxml .jackson .dataformat .xml .testutil .failure .JacksonTestFailureExpected ;
1011
1112// [databind#517] XML wrapper doesn't work with java records 
1213// Equivalent to on in jdk17/.../deser/XmlWrapperRecord517Test.java 
@@ -42,6 +43,7 @@ private Message() {
4243                    "</messages>"  +
4344                "</Request>" ;
4445
46+     @ JacksonTestFailureExpected 
4547    @ Test 
4648    public  void  testWrapper () throws  Exception  {
4749        XmlWrapperRecord517Test .Request  request  = new  Request (List .of (new  Message ("Hello, World!" )));
Original file line number Diff line number Diff line change 22
33import  java .util .*;
44
5- import  org .junit .Test ;
5+ import  org .junit .jupiter . api . Test ;
66
77import  com .fasterxml .jackson .core .type .TypeReference ;
88import  com .fasterxml .jackson .databind .ObjectMapper ;
1111import  static  com .fasterxml .jackson .dataformat .xml .deser .FromXmlParser .Feature .PROCESS_XSI_NIL ;
1212import  static  com .fasterxml .jackson .dataformat .xml .ser .ToXmlGenerator .Feature .WRITE_NULLS_AS_XSI_NIL ;
1313import  static  java .util .Arrays .asList ;
14- import  static  org .junit .Assert .*;
14+ import  static  org .junit .jupiter . api . Assertions .*;
1515
1616// [dataformat-xml#584] 
1717public  class  StringListRoundtripTest 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments