org.apache.maven.archetype.ui
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.DefaultArchetypeGenerationConfiguratorTest
All Implemented Interfaces:
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
 
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,
                                                              org.apache.maven.archetype.exception.ArchetypeGenerationConfigurationFailure,
                                                              IOException,
                                                              org.apache.maven.archetype.exception.ArchetypeNotConfigured,
                                                              org.apache.maven.archetype.exception.UnknownArchetype,
                                                              org.apache.maven.archetype.exception.ArchetypeNotDefined
Throws:
org.codehaus.plexus.components.interactivity.PrompterException
org.apache.maven.archetype.exception.ArchetypeGenerationConfigurationFailure
IOException
org.apache.maven.archetype.exception.ArchetypeNotConfigured
org.apache.maven.archetype.exception.UnknownArchetype
org.apache.maven.archetype.exception.ArchetypeNotDefined

testOldArchetypeGeneratedFieldsDefaultsBatchMode

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

testOldArchetypeGeneratedFieldsDefaultsMissingGroupId

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


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