org.apache.maven.project.inheritance
Class DefaultModelInheritanceAssemblerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.project.inheritance.DefaultModelInheritanceAssemblerTest
All Implemented Interfaces:
junit.framework.Test

public class DefaultModelInheritanceAssemblerTest
extends junit.framework.TestCase

Author:
jdcasey

Constructor Summary
DefaultModelInheritanceAssemblerTest()
           
 
Method Summary
 void assertScm(String connection, String developerConnection, String url, Scm scm)
           
 void testAppendPathUNC()
           
 void testDistributionManagementInheritance()
           
 void testPluginExecInheritanceWhereExecInheritedSetToFalse()
           
 void testPluginExecInheritanceWhereExecInheritedSetToFalseAndPluginInheritedNotSet()
           
 void testPluginInheritanceWhereParentPluginWithFalseInheritFlagAndChildHasNoPlugins()
           
 void testPluginInheritanceWhereParentPluginWithoutInheritFlagAndChildHasNoPlugins()
           
 void testPluginInheritanceWhereParentPluginWithTrueInheritFlagAndChildHasNoPlugins()
           
 void testReportingExcludeDefaultsInheritance()
           
 void testReportInheritanceWhereParentReportWithFalseInheritFlagAndChildHasNoReports()
           
 void testReportInheritanceWhereParentReportWithoutInheritFlagAndChildHasNoReports()
           
 void testReportInheritanceWhereParentReportWithTrueInheritFlagAndChildHasNoReports()
           
 void testRepositoryInheritenceWhereParentHasRepositoryAndTheChildDoesnt()
           
 void testRepositoryInheritenceWhereParentHasRepositoryAndTheChildHasDifferent()
           
 void testRepositoryInheritenceWhereParentHasRepositoryAndTheChildHasSameId()
           
 void testScmInheritance()
           root |--artifact1 | | | |--artifact1-1 | |--artifact2 (in another directory called a2 so it has it's own scm section) | |--artifact2-1
 void testScmInheritanceWhereParentHasConnectionAndTheChildDoes()
           
 void testScmInheritanceWhereParentHasConnectionAndTheChildDoesnt()
           
 void testScmInheritanceWhereParentHasDeveloperConnectionAndTheChildDoes()
           
 void testScmInheritanceWhereParentHasDeveloperConnectionAndTheChildDoesnt()
           
 void testScmInheritanceWhereParentHasUrlAndTheChildDoes()
           
 void testScmInheritanceWhereParentHasUrlAndTheChildDoesnt()
           
 void testShouldAdjustChildUrlBasedOnParentAndModulePathInSiblingDir()
           
 void testShouldAdjustPathsThreeLevelsDeepAncestryInRepoAndNonStandardModulePaths()
           
 void testShouldAppendChildPathAdjustmentWithNoChildPart()
           
 void testShouldAppendChildPathAdjustmentWithNoChildPartAndNoParentPart()
           
 void testShouldAppendPathWithChildPathAdjustment()
           
 void testShouldMergeDependencyManagementSectionsFromTopTwoLevelsToBottomLevel()
           
 void testShouldMergeSuccessiveDependencyManagementSectionsOverThreeLevels()
           
 void testShouldOverrideUnitTestExcludesOnly()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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

DefaultModelInheritanceAssemblerTest

public DefaultModelInheritanceAssemblerTest()
Method Detail

testShouldAdjustChildUrlBasedOnParentAndModulePathInSiblingDir

public void testShouldAdjustChildUrlBasedOnParentAndModulePathInSiblingDir()

testShouldAdjustPathsThreeLevelsDeepAncestryInRepoAndNonStandardModulePaths

public void testShouldAdjustPathsThreeLevelsDeepAncestryInRepoAndNonStandardModulePaths()

testShouldMergeSuccessiveDependencyManagementSectionsOverThreeLevels

public void testShouldMergeSuccessiveDependencyManagementSectionsOverThreeLevels()

testShouldMergeDependencyManagementSectionsFromTopTwoLevelsToBottomLevel

public void testShouldMergeDependencyManagementSectionsFromTopTwoLevelsToBottomLevel()

testShouldAppendChildPathAdjustmentWithNoChildPartAndNoParentPart

public void testShouldAppendChildPathAdjustmentWithNoChildPartAndNoParentPart()

testShouldAppendChildPathAdjustmentWithNoChildPart

public void testShouldAppendChildPathAdjustmentWithNoChildPart()

testShouldAppendPathWithChildPathAdjustment

public void testShouldAppendPathWithChildPathAdjustment()

testAppendPathUNC

public void testAppendPathUNC()

testDistributionManagementInheritance

public void testDistributionManagementInheritance()

testShouldOverrideUnitTestExcludesOnly

public void testShouldOverrideUnitTestExcludesOnly()

testScmInheritance

public void testScmInheritance()
                        throws Exception
 root
   |--artifact1
   |         |
   |         |--artifact1-1
   |
   |--artifact2 (in another directory called a2 so it has it's own scm section)
             |
             |--artifact2-1
 

Throws:
Exception

testScmInheritanceWhereParentHasConnectionAndTheChildDoesnt

public void testScmInheritanceWhereParentHasConnectionAndTheChildDoesnt()

testScmInheritanceWhereParentHasConnectionAndTheChildDoes

public void testScmInheritanceWhereParentHasConnectionAndTheChildDoes()

testScmInheritanceWhereParentHasDeveloperConnectionAndTheChildDoesnt

public void testScmInheritanceWhereParentHasDeveloperConnectionAndTheChildDoesnt()

testScmInheritanceWhereParentHasDeveloperConnectionAndTheChildDoes

public void testScmInheritanceWhereParentHasDeveloperConnectionAndTheChildDoes()

testScmInheritanceWhereParentHasUrlAndTheChildDoesnt

public void testScmInheritanceWhereParentHasUrlAndTheChildDoesnt()

testScmInheritanceWhereParentHasUrlAndTheChildDoes

public void testScmInheritanceWhereParentHasUrlAndTheChildDoes()

testRepositoryInheritenceWhereParentHasRepositoryAndTheChildDoesnt

public void testRepositoryInheritenceWhereParentHasRepositoryAndTheChildDoesnt()

testRepositoryInheritenceWhereParentHasRepositoryAndTheChildHasDifferent

public void testRepositoryInheritenceWhereParentHasRepositoryAndTheChildHasDifferent()

testRepositoryInheritenceWhereParentHasRepositoryAndTheChildHasSameId

public void testRepositoryInheritenceWhereParentHasRepositoryAndTheChildHasSameId()

testPluginInheritanceWhereParentPluginWithoutInheritFlagAndChildHasNoPlugins

public void testPluginInheritanceWhereParentPluginWithoutInheritFlagAndChildHasNoPlugins()

testPluginInheritanceWhereParentPluginWithTrueInheritFlagAndChildHasNoPlugins

public void testPluginInheritanceWhereParentPluginWithTrueInheritFlagAndChildHasNoPlugins()

testPluginInheritanceWhereParentPluginWithFalseInheritFlagAndChildHasNoPlugins

public void testPluginInheritanceWhereParentPluginWithFalseInheritFlagAndChildHasNoPlugins()

testReportingExcludeDefaultsInheritance

public void testReportingExcludeDefaultsInheritance()

testReportInheritanceWhereParentReportWithoutInheritFlagAndChildHasNoReports

public void testReportInheritanceWhereParentReportWithoutInheritFlagAndChildHasNoReports()

testReportInheritanceWhereParentReportWithTrueInheritFlagAndChildHasNoReports

public void testReportInheritanceWhereParentReportWithTrueInheritFlagAndChildHasNoReports()

testReportInheritanceWhereParentReportWithFalseInheritFlagAndChildHasNoReports

public void testReportInheritanceWhereParentReportWithFalseInheritFlagAndChildHasNoReports()

testPluginExecInheritanceWhereExecInheritedSetToFalse

public void testPluginExecInheritanceWhereExecInheritedSetToFalse()

testPluginExecInheritanceWhereExecInheritedSetToFalseAndPluginInheritedNotSet

public void testPluginExecInheritanceWhereExecInheritedSetToFalseAndPluginInheritedNotSet()

assertScm

public void assertScm(String connection,
                      String developerConnection,
                      String url,
                      Scm scm)


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