org.apache.maven.archetype.generator
Class DefaultArchetypeGeneratorTest

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.apache.maven.archetype.generator.DefaultArchetypeGeneratorTest
All Implemented Interfaces:
Test

public class DefaultArchetypeGeneratorTest
extends AbstractMojoTestCase


Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
DefaultArchetypeGeneratorTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testArchetypeNotDefined()
           
 void testGenerateArchetypeCompleteWithoutParent()
           
 void testGenerateArchetypeCompleteWithParent()
           
 void testGenerateArchetypePartialOnChild()
           
 void testGenerateArchetypePartialOnChildDontOverride()
           
 void testGenerateArchetypePartialOnParent()
           
 void testGenerateArchetypePartialWithoutPoms()
           
 void testGenerateArchetypeSite()
           
 void testGenerateFileSetArchetype()
           
 void testGenerateOldArchetype()
           
 void testPropertiesNotDefined()
           
 
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, 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
 
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

DefaultArchetypeGeneratorTest

public DefaultArchetypeGeneratorTest()
Method Detail

testArchetypeNotDefined

public void testArchetypeNotDefined()
                             throws Exception
Throws:
Exception

testGenerateArchetypeCompleteWithoutParent

public void testGenerateArchetypeCompleteWithoutParent()
                                                throws Exception
Throws:
Exception

testGenerateArchetypeCompleteWithParent

public void testGenerateArchetypeCompleteWithParent()
                                             throws Exception
Throws:
Exception

testGenerateArchetypePartialOnChild

public void testGenerateArchetypePartialOnChild()
                                         throws Exception
Throws:
Exception

testGenerateArchetypePartialOnChildDontOverride

public void testGenerateArchetypePartialOnChildDontOverride()
                                                     throws Exception
Throws:
Exception

testGenerateArchetypePartialOnParent

public void testGenerateArchetypePartialOnParent()
                                          throws Exception
Throws:
Exception

testGenerateArchetypePartialWithoutPoms

public void testGenerateArchetypePartialWithoutPoms()
                                             throws Exception
Throws:
Exception

testGenerateArchetypeSite

public void testGenerateArchetypeSite()
                               throws Exception
Throws:
Exception

testGenerateFileSetArchetype

public void testGenerateFileSetArchetype()
                                  throws Exception
Throws:
Exception

testGenerateOldArchetype

public void testGenerateOldArchetype()
                              throws Exception
Throws:
Exception

testPropertiesNotDefined

public void testPropertiesNotDefined()
                              throws Exception
Throws:
Exception

tearDown

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

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class AbstractMojoTestCase
Throws:
Exception


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.