diff --git a/test/unit/xml-parser.cpp b/test/unit/xml-parser.cpp index 585fe49f..5c927eb6 100644 --- a/test/unit/xml-parser.cpp +++ b/test/unit/xml-parser.cpp @@ -329,7 +329,104 @@ const char metalink_item_generic[]= " " " "; -const std::string s3_xml_response = "a-random-random-bucket1000falseh1big.root2014-09-19T14:27:33.000Z"bf5b1efa7fe677965bf3ecd41e20be2a"280408881STANDARDmhellmicMartin Hellmichservices2014-10-03T14:58:12.000Z"3e73cc5c77799fd3e7a02c62474107bb"\t 19558 \tSTANDARDmhellmicMartin Hellmich"; +const std::string s3_xml_response = "" +"" +" a-random-random-bucket" +" " +" " +" 1000" +" false" +" " +" h1big.root" +" 2014-09-19T14:27:33.000Z" +" "bf5b1efa7fe677965bf3ecd41e20be2a"" +" 280408881" +" STANDARD" +" " +" mhellmic" +" Martin Hellmich" +" " +" " +" " +" services" +" 2014-10-03T14:58:12.000Z" +" "3e73cc5c77799fd3e7a02c62474107bb"" +" \t 19558 \t" +" STANDARD" +" " +" mhellmic" +" Martin Hellmich" +" " +" " +""; + +const std::string s3_xml_response_truncated = "" +"" +" a-random-bucket" +" dir/" +" " +" dir/a.02" +" 2" +" /" +" true" +" " +" dir/a.01" +" 2024-12-22T02:47:18.437Z" +" "c89b1ec23c7087bc00b87f3bfbef055a"" +" 1150" +" " +" 02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4" +" minio" +" " +" STANDARD" +" " +" " +" dir/a.02" +" 2024-12-22T02:47:19.581Z" +" "c89b1ec23c7087bc00b87f3bfbef055a"" +" 1150" +" " +" 02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4" +" minio" +" " +" STANDARD" +" " +""; + +const std::string s3_xml_response_truncated_no_nextmarker = "" +"" +" a-random-bucket" +" dir/" +" " +" 3" +" /" +" true" +" " +" dir/a.01" +" 2024-12-22T02:47:18.437Z" +" "c89b1ec23c7087bc00b87f3bfbef055a"" +" 1150" +" " +" 02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4" +" minio" +" " +" STANDARD" +" " +" " +" dir/a.02" +" 2024-12-22T02:47:19.581Z" +" "c89b1ec23c7087bc00b87f3bfbef055a"" +" 1150" +" " +" 02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4" +" minio" +" " +" STANDARD" +" " +" " +" dir/subdir/" +" " +""; const std::string s3_multipart_initiation_response = "" "