Skip to content

Commit c2ca731

Browse files
committed
Update links to use schemas.junit.org
(cherry picked from commit 20b1845)
1 parent 7d1bd2f commit c2ca731

File tree

7 files changed

+7
-8
lines changed

7 files changed

+7
-8
lines changed

junit-platform-reporting/src/main/java/org/junit/platform/reporting/open/xml/OpenTestReportGeneratingListener.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,7 @@ public void testPlanExecutionStarted(TestPlan testPlan) {
134134
.add("e", Namespace.REPORTING_EVENTS) //
135135
.add("git", Namespace.REPORTING_GIT) //
136136
.add("java", Namespace.REPORTING_JAVA) //
137-
.add("junit", JUnitFactory.NAMESPACE,
138-
"https://junit.org/junit5/schemas/open-test-reporting/junit-1.9.xsd") //
137+
.add("junit", JUnitFactory.NAMESPACE, "https://schemas.junit.org/open-test-reporting/junit-1.9.xsd") //
139138
.build();
140139
outputDir = testPlan.getOutputDirectoryProvider().getRootDirectory();
141140
Path eventsXml = outputDir.resolve("open-test-report.xml");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0"?>
22
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
3-
<system systemId="https://junit.org/junit5/schemas/open-test-reporting/junit-1.9.xsd" uri="junit.xsd"/>
3+
<system systemId="https://schemas.junit.org/open-test-reporting/junit-1.9.xsd" uri="junit.xsd"/>
44
</catalog>

platform-tests/src/test/java/org/junit/platform/reporting/open/xml/JUnitContributorTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ void contributesJUnitSpecificMetadata(@TempDir Path tempDir) throws Exception {
2828
"""
2929
<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"
31-
xsi:schemaLocation="https://schemas.junit.org/open-test-reporting https://junit.org/junit5/schemas/open-test-reporting/junit-1.9.xsd">
31+
xsi:schemaLocation="https://schemas.junit.org/open-test-reporting https://schemas.junit.org/open-test-reporting/junit-1.9.xsd">
3232
<e:started id="1" name="dummy" time="2024-11-10T16:31:35.000Z">
3333
<metadata>
3434
<junit:uniqueId>[engine:dummy]</junit:uniqueId>

platform-tests/src/test/java/org/junit/platform/reporting/open/xml/OpenTestReportGeneratingListenerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void writesValidXmlReport(@TempDir Path tempDirectory) throws Exception {
108108
xmlns:java="https://schemas.opentest4j.org/reporting/java/0.2.0"
109109
xmlns:junit="https://schemas.junit.org/open-test-reporting"
110110
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
111-
xsi:schemaLocation="https://schemas.junit.org/open-test-reporting https://junit.org/junit5/schemas/open-test-reporting/junit-1.9.xsd">
111+
xsi:schemaLocation="https://schemas.junit.org/open-test-reporting https://schemas.junit.org/open-test-reporting/junit-1.9.xsd">
112112
<infrastructure>
113113
<hostName>${xmlunit.ignore}</hostName>
114114
<userName>${xmlunit.ignore}</userName>

platform-tooling-support-tests/src/test/resources/platform/tooling/support/tests/AntStarterTests_snapshots/open-test-report.xml.snapshot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ test-method: ant_starter
99
xmlns:git="https://schemas.opentest4j.org/reporting/git/0.2.0"
1010
xmlns:java="https://schemas.opentest4j.org/reporting/java/0.2.0"
1111
xmlns:junit="https://schemas.junit.org/open-test-reporting"
12-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://schemas.junit.org/open-test-reporting https://junit.org/junit5/schemas/open-test-reporting/junit-1.9.xsd">
12+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://schemas.junit.org/open-test-reporting https://schemas.junit.org/open-test-reporting/junit-1.9.xsd">
1313

1414
<infrastructure>
1515
<hostName>obfuscated</hostName>

platform-tooling-support-tests/src/test/resources/platform/tooling/support/tests/GradleStarterTests_snapshots/open-test-report.xml.snapshot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ test-method: buildJupiterStarterProject
99
xmlns:git="https://schemas.opentest4j.org/reporting/git/0.2.0"
1010
xmlns:java="https://schemas.opentest4j.org/reporting/java/0.2.0"
1111
xmlns:junit="https://schemas.junit.org/open-test-reporting"
12-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://schemas.junit.org/open-test-reporting https://junit.org/junit5/schemas/open-test-reporting/junit-1.9.xsd">
12+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://schemas.junit.org/open-test-reporting https://schemas.junit.org/open-test-reporting/junit-1.9.xsd">
1313

1414
<infrastructure>
1515
<hostName>obfuscated</hostName>

platform-tooling-support-tests/src/test/resources/platform/tooling/support/tests/MavenStarterTests_snapshots/open-test-report.xml.snapshot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ test-method: verifyJupiterStarterProject
99
xmlns:git="https://schemas.opentest4j.org/reporting/git/0.2.0"
1010
xmlns:java="https://schemas.opentest4j.org/reporting/java/0.2.0"
1111
xmlns:junit="https://schemas.junit.org/open-test-reporting"
12-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://schemas.junit.org/open-test-reporting https://junit.org/junit5/schemas/open-test-reporting/junit-1.9.xsd">
12+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://schemas.junit.org/open-test-reporting https://schemas.junit.org/open-test-reporting/junit-1.9.xsd">
1313

1414
<infrastructure>
1515
<hostName>obfuscated</hostName>

0 commit comments

Comments
 (0)