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, repositorySystem
 
Constructor Summary
DefaultMavenProjectBuilderTest()
           
 
Method Summary
protected  ArtifactRepository getLocalRepository()
           
protected  MavenProject getProject(Artifact pom, boolean allowStub)
           
 void setUp()
           
 void tearDown()
           
 void testBuildFromMiddlePom()
          Check that we can build ok from the middle pom of a (parent,child,grandchild) heirarchy
 void testBuildStubModelForMissingRemotePom()
           
 void testDuplicatePluginDefinitionsMerged()
           
 void testPartialResultUponBadDependencyDeclaration()
           
 void xtestLoop()
           
 
Methods inherited from class org.apache.maven.project.AbstractMavenProjectTestCase
customizeContainerConfiguration, getCustomConfigurationName, getFileForClasspathResource, getLocalRepositoryPath, getProject, getProjectBuilder, getProjectWithDependencies, initRepoSession, newBuildingRequest
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeContext, getBasedir, getClassLoader, getConfigurationName, getContainer, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, teardownContainer
 
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

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 AbstractMavenProjectTestCase
Throws:
Exception

getProject

protected MavenProject getProject(Artifact pom,
                                  boolean allowStub)
                           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

testBuildStubModelForMissingRemotePom

public void testBuildStubModelForMissingRemotePom()
                                           throws Exception
Throws:
Exception

getLocalRepository

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

xtestLoop

public void xtestLoop()
               throws Exception
Throws:
Exception

testPartialResultUponBadDependencyDeclaration

public void testPartialResultUponBadDependencyDeclaration()
                                                   throws Exception
Throws:
Exception


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.