org.apache.maven.project
Class DefaultMavenProjectBuilderTest

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.AbstractMavenProjectTestCase
                  extended by org.apache.maven.project.DefaultMavenProjectBuilderTest
All Implemented Interfaces:
junit.framework.Test

public class DefaultMavenProjectBuilderTest
extends AbstractMavenProjectTestCase


Field Summary
 
Fields inherited from class org.apache.maven.project.AbstractMavenProjectTestCase
projectBuilder
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
DefaultMavenProjectBuilderTest()
           
 
Method Summary
protected  ArtifactRepository getLocalRepository()
           
 void setUp()
           
 void tearDown()
           
 void testBuildDirectoryExpressionInterpolatedWithTranslatedValue()
           
 void testBuildFromMiddlePom()
          Check that we can build ok from the middle pom of a (parent,child,grandchild) heirarchy
 void testDuplicatePluginDefinitionsMerged()
           
 void testShouldInjectOneProfileToStandaloneSuperPom()
           
 void testShouldInjectProfileWithRepositoryToStandaloneSuperPom()
           
 
Methods inherited from class org.apache.maven.project.AbstractMavenProjectTestCase
getFileForClasspathResource, getLocalRepositoryPath, getProject, getProjectWithDependencies
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultMavenProjectBuilderTest

public DefaultMavenProjectBuilderTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class AbstractMavenProjectTestCase
Throws:
Exception

tearDown

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

testShouldInjectOneProfileToStandaloneSuperPom

public void testShouldInjectOneProfileToStandaloneSuperPom()
                                                    throws Exception
Throws:
Exception

testShouldInjectProfileWithRepositoryToStandaloneSuperPom

public void testShouldInjectProfileWithRepositoryToStandaloneSuperPom()
                                                               throws Exception
Throws:
Exception

testBuildFromMiddlePom

public void testBuildFromMiddlePom()
                            throws Exception
Check that we can build ok from the middle pom of a (parent,child,grandchild) heirarchy

Throws:
Exception

testDuplicatePluginDefinitionsMerged

public void testDuplicatePluginDefinitionsMerged()
                                          throws Exception
Throws:
Exception

testBuildDirectoryExpressionInterpolatedWithTranslatedValue

public void testBuildDirectoryExpressionInterpolatedWithTranslatedValue()
                                                                 throws Exception
Throws:
Exception

getLocalRepository

protected ArtifactRepository getLocalRepository()
                                         throws Exception
Overrides:
getLocalRepository in class AbstractMavenProjectTestCase
Throws:
Exception


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