You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (Jira)" <ji...@apache.org> on 2022/12/04 09:01:00 UTC
[jira] [Updated] (SUREFIRE-2130) Rewrite several test classes in report plugin for upcoming Doxia 2.0.0 stack
[ https://issues.apache.org/jira/browse/SUREFIRE-2130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy updated SUREFIRE-2130:
------------------------------------
Description:
https://github.com/apache/maven-surefire/tree/master/maven-surefire-report-plugin/src/test/java/org/apache/maven/plugins/surefire/report: {{Surefire1183Test}}, {{Surefire597Test}}, {{SurefireReportMojoTest}} use too much low level classes like concrete sinks, {{DecorationModel}}, {{SiteRenderingContext}}.
Some of these will change or be removed in Doxia 2.0.0. Approaches like in MPIR, with a plugin specific abstract test class is required to do all the hefty, and high level lifting without using Doxia innards. If this isn't done already with Doxia 1.x these tests will not even compile with Doxia 2.0.0 and need to be commented out/removed.
was:{{Surefire1183Test}}, {{Surefire597Test}}, {{SurefireReportMojoTest}} use too much low level classes like concrete sinks, {{DecorationModel}}, {{SiteRenderingContext}}. Some of these will change or be removed in Doxia 2.0.0. Approaches like in MPIR, with a plugin specific abstract test class is required to do all the hefty, and high level lifting without using Doxia innards. If this isn't done already with Doxia 1.x these tests will not even compile with Doxia 2.0.0 and need to be commented out/removed.
> Rewrite several test classes in report plugin for upcoming Doxia 2.0.0 stack
> ----------------------------------------------------------------------------
>
> Key: SUREFIRE-2130
> URL: https://issues.apache.org/jira/browse/SUREFIRE-2130
> Project: Maven Surefire
> Issue Type: Task
> Components: Maven Surefire Report Plugin
> Affects Versions: 3.0.0-M7
> Reporter: Michael Osipov
> Priority: Blocker
>
> https://github.com/apache/maven-surefire/tree/master/maven-surefire-report-plugin/src/test/java/org/apache/maven/plugins/surefire/report: {{Surefire1183Test}}, {{Surefire597Test}}, {{SurefireReportMojoTest}} use too much low level classes like concrete sinks, {{DecorationModel}}, {{SiteRenderingContext}}.
> Some of these will change or be removed in Doxia 2.0.0. Approaches like in MPIR, with a plugin specific abstract test class is required to do all the hefty, and high level lifting without using Doxia innards. If this isn't done already with Doxia 1.x these tests will not even compile with Doxia 2.0.0 and need to be commented out/removed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)