org.appfuse.mojo.installer
Class CopyTemplatesMojoTest

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.appfuse.mojo.AbstractAppFuseMojoTestCase
                      extended by org.appfuse.mojo.installer.CopyTemplatesMojoTest
All Implemented Interfaces:
junit.framework.Test

public class CopyTemplatesMojoTest
extends AbstractAppFuseMojoTestCase


Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
CopyTemplatesMojoTest()
           
 
Method Summary
protected  CopyTemplatesMojo getMojo(String goal)
           
 void testCopyTemplatesForSpringAndJPA()
           
 void testCopyTemplatesForStrutsAndHibernate()
           
 
Methods inherited from class org.appfuse.mojo.AbstractAppFuseMojoTestCase
checkExists, copyFileToDirectory, createTestProject, deleteDirectory, getHibernateMojo, getInstallMojo, getMavenProject, setGenericCore
 
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setUp, setVariableValueToObject
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, tearDown
 
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

CopyTemplatesMojoTest

public CopyTemplatesMojoTest()
Method Detail

testCopyTemplatesForStrutsAndHibernate

public void testCopyTemplatesForStrutsAndHibernate()
                                            throws Exception
Throws:
Exception

testCopyTemplatesForSpringAndJPA

public void testCopyTemplatesForSpringAndJPA()
                                      throws Exception
Throws:
Exception

getMojo

protected CopyTemplatesMojo getMojo(String goal)
                             throws Exception
Throws:
Exception


Copyright © 2003-2012. All Rights Reserved.