sparsick commented on code in PR #675:
URL: https://github.com/apache/maven-pmd-plugin/pull/675#discussion_r2624202233


##########
src/test/java/org/apache/maven/plugins/pmd/CpdReportTest.java:
##########
@@ -69,10 +144,14 @@ public void testDefaultConfiguration() throws Exception {
     }
 
     /**
-     * Test CPDReport with the text renderer given as "format=txt"
-     */
-    public void testTxtFormat() throws Exception {
-        generateReport(getGoal(), 
"custom-configuration/cpd-txt-format-configuration-plugin-config.xml");
+     * //     * Test CPDReport with the text renderer given as "format=txt"
+     * //     */
+    @Basedir("/unit/custom-configuration")
+    @InjectMojo(goal = "cpd", pom = 
"cpd-txt-format-configuration-plugin-config.xml")
+    @MojoParameter(name = "siteDirectory", value = "src/site")
+    @Test
+    public void testTxtFormat(AbstractPmdReport mojo) throws Exception {

Review Comment:
   good catch thanks



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to