org.apache.maven.project
Class MavenProjectDynamismTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.project.MavenProjectDynamismTest
All Implemented Interfaces:
junit.framework.Test

public class MavenProjectDynamismTest
extends org.codehaus.plexus.PlexusTestCase


Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
MavenProjectDynamismTest()
           
 
Method Summary
 void setUp()
           
 void testBuildSectionGroupIdInterpolation()
           
 void testRoundTrip()
           
 void testShouldAlignCompileSourceRootsInConcreteState()
           
 void testShouldIncorporateChangedBuildDirectoryViaExpressionsOnNextConcreteCalculation()
           
 void testShouldInterpolatePluginLevelDependency()
           
 void testShouldMaintainAddedAndExistingPluginEntriesInRoundTrip()
           
 void testShouldMaintainAddedAndExistingSourceRootsInRoundTrip()
           
 void testShouldPreserveAddedFilterInRestoredState()
           
 void testShouldPreserveAddedResourceInRestoredState()
           
 void testShouldPreserveInitialValuesForPropertiesReferencingBuildPaths()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MavenProjectDynamismTest

public MavenProjectDynamismTest()
Method Detail

setUp

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

testBuildSectionGroupIdInterpolation

public void testBuildSectionGroupIdInterpolation()
                                          throws IOException,
                                                 org.codehaus.plexus.util.xml.pull.XmlPullParserException,
                                                 URISyntaxException,
                                                 ProjectBuildingException,
                                                 ModelInterpolationException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
URISyntaxException
ProjectBuildingException
ModelInterpolationException

testRoundTrip

public void testRoundTrip()
                   throws IOException,
                          org.codehaus.plexus.util.xml.pull.XmlPullParserException,
                          URISyntaxException,
                          ModelInterpolationException,
                          ProjectBuildingException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
URISyntaxException
ModelInterpolationException
ProjectBuildingException

testShouldPreserveAddedResourceInRestoredState

public void testShouldPreserveAddedResourceInRestoredState()
                                                    throws IOException,
                                                           org.codehaus.plexus.util.xml.pull.XmlPullParserException,
                                                           URISyntaxException,
                                                           ProjectBuildingException,
                                                           ModelInterpolationException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
URISyntaxException
ProjectBuildingException
ModelInterpolationException

testShouldPreserveAddedFilterInRestoredState

public void testShouldPreserveAddedFilterInRestoredState()
                                                  throws IOException,
                                                         org.codehaus.plexus.util.xml.pull.XmlPullParserException,
                                                         URISyntaxException,
                                                         ProjectBuildingException,
                                                         ModelInterpolationException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
URISyntaxException
ProjectBuildingException
ModelInterpolationException

testShouldIncorporateChangedBuildDirectoryViaExpressionsOnNextConcreteCalculation

public void testShouldIncorporateChangedBuildDirectoryViaExpressionsOnNextConcreteCalculation()
                                                                                       throws IOException,
                                                                                              org.codehaus.plexus.util.xml.pull.XmlPullParserException,
                                                                                              URISyntaxException,
                                                                                              ProjectBuildingException,
                                                                                              ModelInterpolationException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
URISyntaxException
ProjectBuildingException
ModelInterpolationException

testShouldPreserveInitialValuesForPropertiesReferencingBuildPaths

public void testShouldPreserveInitialValuesForPropertiesReferencingBuildPaths()
                                                                       throws IOException,
                                                                              org.codehaus.plexus.util.xml.pull.XmlPullParserException,
                                                                              URISyntaxException,
                                                                              ProjectBuildingException,
                                                                              ModelInterpolationException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
URISyntaxException
ProjectBuildingException
ModelInterpolationException

testShouldAlignCompileSourceRootsInConcreteState

public void testShouldAlignCompileSourceRootsInConcreteState()
                                                      throws IOException,
                                                             org.codehaus.plexus.util.xml.pull.XmlPullParserException,
                                                             URISyntaxException,
                                                             ProjectBuildingException,
                                                             ModelInterpolationException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
URISyntaxException
ProjectBuildingException
ModelInterpolationException

testShouldMaintainAddedAndExistingPluginEntriesInRoundTrip

public void testShouldMaintainAddedAndExistingPluginEntriesInRoundTrip()
                                                                throws IOException,
                                                                       org.codehaus.plexus.util.xml.pull.XmlPullParserException,
                                                                       URISyntaxException,
                                                                       ProjectBuildingException,
                                                                       ModelInterpolationException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
URISyntaxException
ProjectBuildingException
ModelInterpolationException

testShouldMaintainAddedAndExistingSourceRootsInRoundTrip

public void testShouldMaintainAddedAndExistingSourceRootsInRoundTrip()
                                                              throws IOException,
                                                                     org.codehaus.plexus.util.xml.pull.XmlPullParserException,
                                                                     URISyntaxException,
                                                                     ProjectBuildingException,
                                                                     ModelInterpolationException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
URISyntaxException
ProjectBuildingException
ModelInterpolationException

testShouldInterpolatePluginLevelDependency

public void testShouldInterpolatePluginLevelDependency()
                                                throws IOException,
                                                       org.codehaus.plexus.util.xml.pull.XmlPullParserException,
                                                       URISyntaxException,
                                                       ProjectBuildingException,
                                                       ModelInterpolationException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
URISyntaxException
ProjectBuildingException
ModelInterpolationException


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.