org.nuiton.util
Class BasePluginTestCase.MyAbstractMojoTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.plugin.testing.AbstractMojoTestCase
                  extended by org.nuiton.util.BasePluginTestCase.MyAbstractMojoTestCase
All Implemented Interfaces:
junit.framework.Test
Enclosing class:
BasePluginTestCase<P extends org.nuiton.plugin.Plugin>

public static class BasePluginTestCase.MyAbstractMojoTestCase
extends org.apache.maven.plugin.testing.AbstractMojoTestCase


Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
BasePluginTestCase.MyAbstractMojoTestCase()
           
 
Method Summary
 org.codehaus.plexus.PlexusContainer getContainer()
           
 org.apache.maven.plugin.Mojo lookupMojo(java.lang.String goal, java.io.File pom)
           
 void setUp()
           
 void tearDown()
           
 
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, setVariableValueToObject
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasePluginTestCase.MyAbstractMojoTestCase

public BasePluginTestCase.MyAbstractMojoTestCase()
Method Detail

lookupMojo

public org.apache.maven.plugin.Mojo lookupMojo(java.lang.String goal,
                                               java.io.File pom)
                                        throws java.lang.Exception
Overrides:
lookupMojo in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Throws:
java.lang.Exception

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Throws:
java.lang.Exception

tearDown

public void tearDown()
              throws java.lang.Exception
Overrides:
tearDown in class org.codehaus.plexus.PlexusTestCase
Throws:
java.lang.Exception

getContainer

public org.codehaus.plexus.PlexusContainer getContainer()
Overrides:
getContainer in class org.codehaus.plexus.PlexusTestCase


Copyright © 2009 CodeLutin. All Rights Reserved.