File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
platform-tests/src/test/java/org/junit/platform/reporting/open/xml
platform-tooling-support-tests/src/test/java/platform/tooling/support/tests Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ ktlint = "1.4.1"
1616log4j = " 2.24.2"
1717mockito = " 5.14.2"
1818opentest4j = " 1.3.0"
19- openTestReporting = " 0.1 .0-SNAPSHOT"
19+ openTestReporting = " 0.2 .0-SNAPSHOT"
2020surefire = " 3.5.2"
2121xmlunit = " 2.10.0"
2222
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public class JUnitContributorTests {
2626 void contributesJUnitSpecificMetadata (@ TempDir Path tempDir ) throws Exception {
2727 var xmlFile = Files .writeString (tempDir .resolve ("report.xml" ),
2828 """
29- <e:events xmlns="https://schemas.opentest4j.org/reporting/core/0.1 .0" xmlns:e="https://schemas.opentest4j.org/reporting/events/0.1 .0" xmlns:java="https://schemas.opentest4j.org/reporting/java/0.1 .0"
29+ <e:events xmlns="https://schemas.opentest4j.org/reporting/core/0.2 .0" xmlns:e="https://schemas.opentest4j.org/reporting/events/0.2 .0" xmlns:java="https://schemas.opentest4j.org/reporting/java/0.2 .0"
3030 xmlns:junit="https://schemas.junit.org/open-test-reporting" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3131 xsi:schemaLocation="https://schemas.junit.org/open-test-reporting https://junit.org/junit5/schemas/open-test-reporting/junit-1.9.xsd">
3232 <e:started id="1" name="dummy" time="2024-11-10T16:31:35.000Z">
Original file line number Diff line number Diff line change @@ -61,9 +61,9 @@ void writesValidXmlReport() throws Exception {
6161 assertThat (validate (xmlFile )).isEmpty ();
6262
6363 var expected = """
64- <e:events xmlns="https://schemas.opentest4j.org/reporting/core/0.1 .0" xmlns:e="https://schemas.opentest4j.org/reporting/events/0.1 .0"
65- xmlns:git="https://schemas.opentest4j.org/reporting/git/0.1 .0"
66- xmlns:java="https://schemas.opentest4j.org/reporting/java/0.1 .0"
64+ <e:events xmlns="https://schemas.opentest4j.org/reporting/core/0.2 .0" xmlns:e="https://schemas.opentest4j.org/reporting/events/0.2 .0"
65+ xmlns:git="https://schemas.opentest4j.org/reporting/git/0.2 .0"
66+ xmlns:java="https://schemas.opentest4j.org/reporting/java/0.2 .0"
6767 xmlns:junit="https://schemas.junit.org/open-test-reporting"
6868 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6969 xsi:schemaLocation="https://schemas.junit.org/open-test-reporting https://junit.org/junit5/schemas/open-test-reporting/junit-1.9.xsd">
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ static void verifyContainsExpectedStartedOpenTestReport(Path testResultsDir) {
3434
3535 private static void verifyContent (Path xmlFile ) {
3636 var expected = """
37- <e:events xmlns="https://schemas.opentest4j.org/reporting/core/0.1 .0" xmlns:e="https://schemas.opentest4j.org/reporting/events/0.1 .0" xmlns:git="https://schemas.opentest4j.org/reporting/git/0.1 .0"
38- xmlns:java="https://schemas.opentest4j.org/reporting/java/0.1 .0"
37+ <e:events xmlns="https://schemas.opentest4j.org/reporting/core/0.2 .0" xmlns:e="https://schemas.opentest4j.org/reporting/events/0.2 .0" xmlns:git="https://schemas.opentest4j.org/reporting/git/0.2 .0"
38+ xmlns:java="https://schemas.opentest4j.org/reporting/java/0.2 .0"
3939 xmlns:junit="https://schemas.junit.org/open-test-reporting" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4040 xsi:schemaLocation="https://schemas.junit.org/open-test-reporting https://junit.org/junit5/schemas/open-test-reporting/junit-1.9.xsd">
4141 <infrastructure>
You can’t perform that action at this time.
0 commit comments