@@ -358,44 +358,44 @@ void writesXmlReportToSocket(@TempDir Path tempDirectory) throws Exception {
358358
359359 // Verify XML was received
360360 var expected = """
361- <e:events xmlns="https://schemas.opentest4j.org/reporting/core/0.2.0"
362- xmlns:e="https://schemas.opentest4j.org/reporting/events/0.2.0"
363- xmlns:git="https://schemas.opentest4j.org/reporting/git/0.2.0"
364- xmlns:java="https://schemas.opentest4j.org/reporting/java/0.2.0"
365- xmlns:junit="https://schemas.junit.org/open-test-reporting"
366- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
367- xsi:schemaLocation="https://schemas.junit.org/open-test-reporting https://schemas.junit.org/open-test-reporting/junit-1.9.xsd">
368- <infrastructure>
369- <hostName>${xmlunit.ignore}</hostName>
370- <userName>${xmlunit.ignore}</userName>
371- <operatingSystem>${xmlunit.ignore}</operatingSystem>
372- <cpuCores>${xmlunit.ignore}</cpuCores>
373- <java:javaVersion>${xmlunit.ignore}</java:javaVersion>
374- <java:fileEncoding>${xmlunit.ignore}</java:fileEncoding>
375- <java:heapSize max="${xmlunit.isNumber}"/>
376- </infrastructure>
377- <e:started id="1" name="dummy" time="${xmlunit.isDateTime}">
378- <metadata>
379- <junit:uniqueId>[engine:dummy]</junit:uniqueId>
380- <junit:legacyReportingName>dummy</junit:legacyReportingName>
381- <junit:type>CONTAINER</junit:type>
382- </metadata>
383- </e:started>
384- <e:started id="2" name="Test 1" parentId="1" time="${xmlunit.isDateTime}">
385- <metadata>
386- <junit:uniqueId>[engine:dummy]/[test:test1]</junit:uniqueId>
387- <junit:legacyReportingName>Test 1</junit:legacyReportingName>
388- <junit:type>TEST</junit:type>
389- </metadata>
390- </e:started>
391- <e:finished id="2" time="${xmlunit.isDateTime}">
392- <result status="SUCCESSFUL"/>
393- </e:finished>
394- <e:finished id="1" time="${xmlunit.isDateTime}">
395- <result status="SUCCESSFUL"/>
396- </e:finished>
397- </e:events>
398- """ ;
361+ <e:events xmlns="https://schemas.opentest4j.org/reporting/core/0.2.0"
362+ xmlns:e="https://schemas.opentest4j.org/reporting/events/0.2.0"
363+ xmlns:git="https://schemas.opentest4j.org/reporting/git/0.2.0"
364+ xmlns:java="https://schemas.opentest4j.org/reporting/java/0.2.0"
365+ xmlns:junit="https://schemas.junit.org/open-test-reporting"
366+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
367+ xsi:schemaLocation="https://schemas.junit.org/open-test-reporting https://schemas.junit.org/open-test-reporting/junit-1.9.xsd">
368+ <infrastructure>
369+ <hostName>${xmlunit.ignore}</hostName>
370+ <userName>${xmlunit.ignore}</userName>
371+ <operatingSystem>${xmlunit.ignore}</operatingSystem>
372+ <cpuCores>${xmlunit.ignore}</cpuCores>
373+ <java:javaVersion>${xmlunit.ignore}</java:javaVersion>
374+ <java:fileEncoding>${xmlunit.ignore}</java:fileEncoding>
375+ <java:heapSize max="${xmlunit.isNumber}"/>
376+ </infrastructure>
377+ <e:started id="1" name="dummy" time="${xmlunit.isDateTime}">
378+ <metadata>
379+ <junit:uniqueId>[engine:dummy]</junit:uniqueId>
380+ <junit:legacyReportingName>dummy</junit:legacyReportingName>
381+ <junit:type>CONTAINER</junit:type>
382+ </metadata>
383+ </e:started>
384+ <e:started id="2" name="Test 1" parentId="1" time="${xmlunit.isDateTime}">
385+ <metadata>
386+ <junit:uniqueId>[engine:dummy]/[test:test1]</junit:uniqueId>
387+ <junit:legacyReportingName>Test 1</junit:legacyReportingName>
388+ <junit:type>TEST</junit:type>
389+ </metadata>
390+ </e:started>
391+ <e:finished id="2" time="${xmlunit.isDateTime}">
392+ <result status="SUCCESSFUL"/>
393+ </e:finished>
394+ <e:finished id="1" time="${xmlunit.isDateTime}">
395+ <result status="SUCCESSFUL"/>
396+ </e:finished>
397+ </e:events>
398+ """ ;
399399 XmlAssert .assertThat (builder .toString ()).and (expected ) //
400400 .withDifferenceEvaluator (new PlaceholderDifferenceEvaluator ()) //
401401 .ignoreWhitespace () //
0 commit comments