org.nuiton.util
Class BasePluginTestCase<P extends org.nuiton.plugin.Plugin>

java.lang.Object
  extended by org.nuiton.util.BasePluginTestCase<P>
Type Parameters:
P - le mojo a test

Deprecated. since 1.0.3, prefer use the AbstractMojoTest which need no more annotation on each test method.

@Deprecated
public abstract class BasePluginTestCase<P extends org.nuiton.plugin.Plugin>
extends java.lang.Object

Author:
chemit

Nested Class Summary
static class BasePluginTestCase.MyAbstractMojoTestCase
          Deprecated.  
 
Field Summary
protected static java.io.File basedir
          Deprecated.  
protected static java.util.Iterator<PluginConfig> configItr
          Deprecated.  
protected static BasePluginTestCase.MyAbstractMojoTestCase delegate
          Deprecated.  
protected  java.lang.String goalName
          Deprecated.  
protected static org.apache.maven.plugin.logging.SystemStreamLog log
          Deprecated.  
protected  P mojo
          Deprecated.  
protected  java.io.File pomFile
          Deprecated.  
protected static java.io.File testDir
          Deprecated.  
 
Constructor Summary
BasePluginTestCase()
          Deprecated.  
 
Method Summary
protected static java.io.File getBaseDir()
          Deprecated.  
protected static java.io.File getTestDir()
          Deprecated.  
protected static
<P extends org.nuiton.plugin.Plugin>
void
initConfigs(java.lang.Class<? extends BasePluginTestCase<P>> klass, java.lang.String... testNames)
          Deprecated.  
protected  void initPomFile(PluginConfig pluginConfig)
          Deprecated.  
 void setUp()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.maven.plugin.logging.SystemStreamLog log
Deprecated. 

basedir

protected static java.io.File basedir
Deprecated. 

testDir

protected static java.io.File testDir
Deprecated. 

configItr

protected static java.util.Iterator<PluginConfig> configItr
Deprecated. 

delegate

protected static BasePluginTestCase.MyAbstractMojoTestCase delegate
Deprecated. 

goalName

protected java.lang.String goalName
Deprecated. 

pomFile

protected java.io.File pomFile
Deprecated. 

mojo

protected P extends org.nuiton.plugin.Plugin mojo
Deprecated. 
Constructor Detail

BasePluginTestCase

public BasePluginTestCase()
Deprecated. 
Method Detail

getBaseDir

protected static java.io.File getBaseDir()
Deprecated. 

getTestDir

protected static java.io.File getTestDir()
Deprecated. 

initConfigs

protected static <P extends org.nuiton.plugin.Plugin> void initConfigs(java.lang.Class<? extends BasePluginTestCase<P>> klass,
                                                                       java.lang.String... testNames)
                           throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception

setUp

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

initPomFile

protected void initPomFile(PluginConfig pluginConfig)
                    throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception


Copyright © 2009 CodeLutin. All Rights Reserved.