Skip to content

Commit

Permalink
Fix incorrect config in test-javadoc-test-plugin-config.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed Nov 19, 2023
1 parent dd39c0c commit 0104ab2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ public void testTestJavadoc() throws Exception {
mojo.execute();

File generatedFile =
new File(getBasedir(), "target/test/unit/test-javadoc-test/target/site/apidocs/maven/AppTest.html");
new File(getBasedir(), "target/test/unit/test-javadoc-test/target/site/testapidocs/maven/AppTest.html");
assertThat(generatedFile).exists();

File options = new File(getBasedir(), "target/test/unit/test-javadoc-test/target/site/apidocs/options");
File options = new File(getBasedir(), "target/test/unit/test-javadoc-test/target/site/testapidocs/options");
assertThat(FileUtils.fileRead(options)).contains("junit-3.8.1.jar");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ under the License.
<groups/>
<tags/>
<quiet>true</quiet>
<javadocDirectory>${basedir}/src/test/resources/unit/test-javadoc-test/src/test/javadoc</javadocDirectory>
<testJavadocDirectory>${basedir}/src/test/resources/unit/test-javadoc-test/src/test/javadoc</testJavadocDirectory>
<stylesheet>java</stylesheet>
<debug>true</debug>
<failOnError>true</failOnError>
Expand Down

0 comments on commit 0104ab2

Please # to comment.