org.nuiton.license.plugin
Class LicensePluginTest

java.lang.Object
  extended by org.nuiton.plugin.AbstractMojoTest<org.nuiton.license.plugin.LicensePlugin>
      extended by org.nuiton.license.plugin.LicensePluginTest

Deprecated. since 1.0.3, move all license stuff in maven-license-plugin

@Deprecated
public class LicensePluginTest
extends AbstractMojoTest<org.nuiton.license.plugin.LicensePlugin>

Author:
chemit

Nested Class Summary
 
Nested classes/interfaces inherited from class org.nuiton.plugin.AbstractMojoTest
AbstractMojoTest.MojoTestRule
 
Field Summary
 
Fields inherited from class org.nuiton.plugin.AbstractMojoTest
basedir, log, name, testBasedir
 
Constructor Summary
LicensePluginTest()
          Deprecated.  
 
Method Summary
protected  java.lang.String getGoalName(java.lang.String methodName)
          Deprecated. Obtain the name of the goal according to the methodName.
protected  void setUpMojo(org.nuiton.license.plugin.LicensePlugin mojo, java.io.File pomFile)
          Deprecated. Initialize the given mojo.
 void testOne()
          Deprecated.  
 void testTwo()
          Deprecated.  
 
Methods inherited from class org.nuiton.plugin.AbstractMojoTest
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
 

Constructor Detail

LicensePluginTest

public LicensePluginTest()
Deprecated. 
Method Detail

getGoalName

protected java.lang.String getGoalName(java.lang.String methodName)
Deprecated. 
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.license.plugin.LicensePlugin>
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.license.plugin.LicensePlugin mojo,
                         java.io.File pomFile)
                  throws java.lang.Exception
Deprecated. 
Description copied from class: AbstractMojoTest
Initialize the given mojo.

Overrides:
setUpMojo in class AbstractMojoTest<org.nuiton.license.plugin.LicensePlugin>
Parameters:
mojo - the instanciate mojo
pomFile - the pom file used to instanciate the mojo
Throws:
java.lang.Exception - if any pb

testOne

public void testOne()
             throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception

testTwo

public void testTwo()
             throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception


Copyright © 2009 CodeLutin. All Rights Reserved.