You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/02/25 11:38:54 UTC
[GitHub] [maven-surefire] Tibor17 edited a comment on pull request #475: [SUREFIRE-2025] Updated abstractions which helps associating systemProperties() with a test
Tibor17 edited a comment on pull request #475:
URL: https://github.com/apache/maven-surefire/pull/475#issuecomment-1050778729
@slawekjaranowski
Yesterday I have realized that I extended TestSetReportEntry with system properties in the version 2.20.1. See this:
```
public interface TestSetReportEntry extends ReportEntry
{
Map<String, String> getSystemProperties();
}
```
Due to the system properties are sent only when the test set has finished. Pls notice that the XML report contains these system properties from the end of test set. Therefore I made these consequent changes in the last commit [7f6b017](https://github.com/apache/maven-surefire/pull/475/commits/7f6b017a2da0ff7cae402f02f14808ef28a1607d). The method we spoke above is gone and the functionality is intrisic down in the encoder due to the `TestSetReportEntry` already contains the system props on the event call `testSetCompleted(TestSetReportEntry)`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org