44
44
/**
45
45
* @author <a href="mailto:[email protected] ">Maria Odea Ching</a>
46
46
*/
47
- public class JavadocJarTest extends AbstractMojoTestCase {
47
+ public class JavadocJarMojoTest extends AbstractMojoTestCase {
48
48
49
- private JavadocJar lookupMojo (File testPom ) throws Exception {
50
- JavadocJar mojo = (JavadocJar ) lookupMojo ("jar" , testPom );
49
+ private JavadocJarMojo lookupMojo (File testPom ) throws Exception {
50
+ JavadocJarMojo mojo = (JavadocJarMojo ) lookupMojo ("jar" , testPom );
51
51
52
52
Plugin p = new Plugin ();
53
53
p .setGroupId ("org.apache.maven.plugins" );
@@ -78,7 +78,7 @@ private JavadocJar lookupMojo(File testPom) throws Exception {
78
78
public void testDefaultConfig () throws Exception {
79
79
File testPom = new File (
80
80
getBasedir (), "src/test/resources/unit/javadocjar-default/javadocjar-default-plugin-config.xml" );
81
- JavadocJar mojo = lookupMojo (testPom );
81
+ JavadocJarMojo mojo = lookupMojo (testPom );
82
82
mojo .execute ();
83
83
84
84
// check if the javadoc jar file was generated
@@ -144,7 +144,7 @@ public void testInvalidDestdir() throws Exception {
144
144
File testPom = new File (
145
145
getBasedir (),
146
146
"src/test/resources/unit/javadocjar-invalid-destdir/javadocjar-invalid-destdir-plugin-config.xml" );
147
- JavadocJar mojo = lookupMojo (testPom );
147
+ JavadocJarMojo mojo = lookupMojo (testPom );
148
148
mojo .execute ();
149
149
150
150
// check if the javadoc jar file was generated
@@ -158,7 +158,7 @@ public void testContinueIfFailOnErrorIsFalse() throws Exception {
158
158
File testPom = new File (
159
159
getBasedir (),
160
160
"src/test/resources/unit/javadocjar-failonerror/javadocjar-failonerror-plugin-config.xml" );
161
- JavadocJar mojo = lookupMojo (testPom );
161
+ JavadocJarMojo mojo = lookupMojo (testPom );
162
162
mojo .execute ();
163
163
164
164
// check if the javadoc jar file was generated
@@ -170,7 +170,7 @@ public void testContinueIfFailOnErrorIsFalse() throws Exception {
170
170
public void testIncludeMavenDescriptorWhenExplicitlyConfigured () throws Exception {
171
171
File testPom = new File (
172
172
getBasedir (), "src/test/resources/unit/javadocjar-archive-config/javadocjar-archive-config.xml" );
173
- JavadocJar mojo = lookupMojo (testPom );
173
+ JavadocJarMojo mojo = lookupMojo (testPom );
174
174
mojo .execute ();
175
175
176
176
// check if the javadoc jar file was generated
@@ -200,7 +200,7 @@ public void testIncludeMavenDescriptorWhenExplicitlyConfigured() throws Exceptio
200
200
201
201
public void testStale () throws Exception {
202
202
File testPom = new File (getBasedir (), "src/test/resources/unit/stale-test/stale-test-plugin-config.xml" );
203
- JavadocJar mojo = lookupMojo (testPom );
203
+ JavadocJarMojo mojo = lookupMojo (testPom );
204
204
BufferingLog log = new BufferingLog ();
205
205
mojo .setLog (log );
206
206
0 commit comments