Skip to content

Commit

Permalink
Bump open-test-reporting to 0.1.0-M2
Browse files Browse the repository at this point in the history
Resolves #3788.
  • Loading branch information
marcphilipp committed Apr 20, 2024
1 parent b677587 commit f98d4b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Expand Up @@ -53,6 +53,7 @@ repository on GitHub.
-- for use in third-party extensions and test engines.
* Error messages for type mismatches in `NamespacedHierarchicalStore` now include the
actual type and value in addition to the required type.
* Updated open-test-reporting dependency to 0.1.0-M2.


[[release-notes-5.11.0-M1-junit-jupiter]]
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Expand Up @@ -16,7 +16,7 @@ junit4Min = "4.12"
ktlint = "0.48.2"
log4j = "2.23.1"
opentest4j = "1.3.0"
openTestReporting = "0.1.0-M1"
openTestReporting = "0.1.0-M2"
surefire = "3.2.5"
xmlunit = "2.9.1"

Expand Down
Expand Up @@ -236,10 +236,9 @@ else if (source instanceof UriSource) {
public void reportingEntryPublished(TestIdentifier testIdentifier, ReportEntry entry) {
String id = inProgressIds.get(testIdentifier.getUniqueIdObject());
eventsFileWriter.append(reported(id, Instant.now()), //
reported -> reported.append(attachments(), attachments -> attachments.append(data(), data -> {
data.withTime(entry.getTimestamp());
entry.getKeyValuePairs().forEach(data::addEntry);
})));
reported -> reported.append(attachments(), //
attachments -> attachments.append(data(entry.getTimestamp()), //
data -> entry.getKeyValuePairs().forEach(data::addEntry))));
}

@Override
Expand Down

0 comments on commit f98d4b6

Please sign in to comment.