org.apache.maven.project.inheritance.t01
Class ProjectInheritanceTest

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.inheritance.AbstractProjectInheritanceTestCase
                      extended by org.apache.maven.project.inheritance.t01.ProjectInheritanceTest
All Implemented Interfaces:
junit.framework.Test

public class ProjectInheritanceTest
extends AbstractProjectInheritanceTestCase

A test which demonstrates maven's recursive inheritance where we are testing to make sure that elements stated in a model are not clobbered by the same elements elsewhere in the lineage.

Version:
$Id: ProjectInheritanceTest.java 495147 2007-01-11 07:47:53Z jvanzyl $
Author:
Jason van Zyl

Field Summary
 
Fields inherited from class org.apache.maven.project.AbstractMavenProjectTestCase
projectBuilder
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
ProjectInheritanceTest()
           
 
Method Summary
 void testProjectInheritance()
           
 
Methods inherited from class org.apache.maven.project.inheritance.AbstractProjectInheritanceTestCase
getLocalRepositoryPath, getTestSeries, projectFile
 
Methods inherited from class org.apache.maven.project.AbstractMavenProjectTestCase
getFileForClasspathResource, getLocalRepository, getProject, getProjectWithDependencies, setUp
 
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

ProjectInheritanceTest

public ProjectInheritanceTest()
Method Detail

testProjectInheritance

public void testProjectInheritance()
                            throws Exception
Throws:
Exception


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