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

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.DefaultArchetypeSelectorTest
All Implemented Interfaces:
junit.framework.Test

public class DefaultArchetypeSelectorTest
extends org.codehaus.plexus.PlexusTestCase


Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
DefaultArchetypeSelectorTest()
           
 
Method Summary
 void setUp()
           
 void testArchetypeArtifactIdInRequest()
           
 void testArchetypeArtifactIdNotInRequest()
           
 void testArchetypeCoordinatesInRequest()
           
 void testArchetypeNotInRequestDefaults()
           
 void testArchetypeNotInRequestDefaultsInBatchMode()
           
 
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

DefaultArchetypeSelectorTest

public DefaultArchetypeSelectorTest()
Method Detail

setUp

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

testArchetypeCoordinatesInRequest

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

testArchetypeArtifactIdInRequest

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

testArchetypeArtifactIdNotInRequest

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

testArchetypeNotInRequestDefaultsInBatchMode

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

testArchetypeNotInRequestDefaults

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


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