Skip to content

Commit

Permalink
Update open-test-reporting dependency to 0.2.0-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Nov 23, 2024
1 parent 967e798 commit c96feb2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ktlint = "1.4.1"
log4j = "2.24.2"
mockito = "5.14.2"
opentest4j = "1.3.0"
openTestReporting = "0.1.0-SNAPSHOT"
openTestReporting = "0.2.0-SNAPSHOT"
surefire = "3.5.2"
xmlunit = "2.10.0"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class JUnitContributorTests {
void contributesJUnitSpecificMetadata(@TempDir Path tempDir) throws Exception {
var xmlFile = Files.writeString(tempDir.resolve("report.xml"),
"""
<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"
<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"
xmlns:junit="https://schemas.junit.org/open-test-reporting" 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">
<e:started id="1" name="dummy" time="2024-11-10T16:31:35.000Z">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ void writesValidXmlReport() throws Exception {
assertThat(validate(xmlFile)).isEmpty();

var expected = """
<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"
xmlns:java="https://schemas.opentest4j.org/reporting/java/0.1.0"
<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"
xmlns:java="https://schemas.opentest4j.org/reporting/java/0.2.0"
xmlns:junit="https://schemas.junit.org/open-test-reporting"
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">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ static void verifyContainsExpectedStartedOpenTestReport(Path testResultsDir) {

private static void verifyContent(Path xmlFile) {
var expected = """
<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"
xmlns:java="https://schemas.opentest4j.org/reporting/java/0.1.0"
<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"
xmlns:java="https://schemas.opentest4j.org/reporting/java/0.2.0"
xmlns:junit="https://schemas.junit.org/open-test-reporting" 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">
<infrastructure>
Expand Down

0 comments on commit c96feb2

Please sign in to comment.