org.apache.maven.archetype.ui.generation
Class DefaultArchetypeGenerationConfiguratorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.archetype.ui.generation.DefaultArchetypeGenerationConfiguratorTest
All Implemented Interfaces:
junit.framework.Test

public class DefaultArchetypeGenerationConfiguratorTest
extends org.codehaus.plexus.PlexusTestCase


Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
DefaultArchetypeGenerationConfiguratorTest()
           
 
Method Summary
 void setUp()
           
 void testOldArchetypeGeneratedFieldsDefaultsBatchMode()
           
 void testOldArchetypeGeneratedFieldsDefaultsMissingGroupId()
           
 void testOldArchetypeGeneratedFieldsInRequestBatchMode()
           
 
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

DefaultArchetypeGenerationConfiguratorTest

public DefaultArchetypeGenerationConfiguratorTest()
Method Detail

setUp

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

testOldArchetypeGeneratedFieldsInRequestBatchMode

public void testOldArchetypeGeneratedFieldsInRequestBatchMode()
                                                       throws org.codehaus.plexus.components.interactivity.PrompterException,
                                                              ArchetypeGenerationConfigurationFailure,
                                                              IOException,
                                                              ArchetypeNotConfigured,
                                                              UnknownArchetype,
                                                              ArchetypeNotDefined
Throws:
org.codehaus.plexus.components.interactivity.PrompterException
ArchetypeGenerationConfigurationFailure
IOException
ArchetypeNotConfigured
UnknownArchetype
ArchetypeNotDefined

testOldArchetypeGeneratedFieldsDefaultsBatchMode

public void testOldArchetypeGeneratedFieldsDefaultsBatchMode()
                                                      throws org.codehaus.plexus.components.interactivity.PrompterException,
                                                             IOException,
                                                             UnknownGroup,
                                                             ArchetypeSelectionFailure,
                                                             UnknownArchetype,
                                                             ArchetypeNotDefined,
                                                             ArchetypeGenerationConfigurationFailure,
                                                             ArchetypeNotConfigured
Throws:
org.codehaus.plexus.components.interactivity.PrompterException
IOException
UnknownGroup
ArchetypeSelectionFailure
UnknownArchetype
ArchetypeNotDefined
ArchetypeGenerationConfigurationFailure
ArchetypeNotConfigured

testOldArchetypeGeneratedFieldsDefaultsMissingGroupId

public void testOldArchetypeGeneratedFieldsDefaultsMissingGroupId()
                                                           throws org.codehaus.plexus.components.interactivity.PrompterException,
                                                                  IOException,
                                                                  UnknownGroup,
                                                                  ArchetypeSelectionFailure,
                                                                  UnknownArchetype,
                                                                  ArchetypeNotDefined,
                                                                  ArchetypeGenerationConfigurationFailure,
                                                                  ArchetypeNotConfigured
Throws:
org.codehaus.plexus.components.interactivity.PrompterException
IOException
UnknownGroup
ArchetypeSelectionFailure
UnknownArchetype
ArchetypeNotDefined
ArchetypeGenerationConfigurationFailure
ArchetypeNotConfigured


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