org.nuiton.helper.plugin
Class SendEmailMojoTest
java.lang.Object
org.nuiton.plugin.AbstractMojoTest<org.nuiton.helper.plugin.SendEmailMojo>
org.nuiton.helper.plugin.SendEmailMojoTest
public class SendEmailMojoTest
- extends AbstractMojoTest<org.nuiton.helper.plugin.SendEmailMojo>
- Since:
- 1.0.0
- Author:
- tchemit
| Methods inherited from class org.nuiton.plugin.AbstractMojoTest |
checkExistsPattern, checkPattern, clearMojo, createMojo, getBasedir, getMethodName, getMojo, getPomFile, getPomFile, getRelativePathFromBasedir, getRelativePathFromTestBasedir, getTestBasedir, getTestDir, getTestDir, isVerbose |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
canContinue
protected boolean canContinue
SendEmailMojoTest
public SendEmailMojoTest()
getGoalName
protected String getGoalName(String methodName)
- Description copied from class:
AbstractMojoTest
- Obtain the name of the goal according to the methodName.
By convention, we should consider that a test class use always the same
goal's name.
- Specified by:
getGoalName in class AbstractMojoTest<org.nuiton.helper.plugin.SendEmailMojo>
- Parameters:
methodName - the name of the next test to execute.
- Returns:
- the name of the goal to test for the given method test name.
setUpMojo
protected void setUpMojo(org.nuiton.helper.plugin.SendEmailMojo mojo,
File pomFile)
throws Exception
- Description copied from class:
AbstractMojoTest
- Initialize the given mojo.
- Overrides:
setUpMojo in class AbstractMojoTest<org.nuiton.helper.plugin.SendEmailMojo>
- Parameters:
mojo - the instanciate mojopomFile - the pom file used to instanciate the mojo
- Throws:
Exception - if any pb
sendEmail
public void sendEmail()
throws Exception
- Throws:
Exception
skipSendEmail
public void skipSendEmail()
throws Exception
- Throws:
Exception
Copyright © 2009-2010 CodeLutin. All Rights Reserved.