org.apache.maven.project
Class ModelUtilsTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.maven.project.ModelUtilsTest
- All Implemented Interfaces:
- Test
public class ModelUtilsTest
- extends TestCase
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, failNotEquals, failNotSame, failSame |
ModelUtilsTest
public ModelUtilsTest()
testShouldUseMainPluginDependencyVersionOverManagedDepVersion
public void testShouldUseMainPluginDependencyVersionOverManagedDepVersion()
testShouldNotInheritPluginWithInheritanceSetToFalse
public void testShouldNotInheritPluginWithInheritanceSetToFalse()
testShouldPreserveChildOrderingOfPluginsAfterParentMerge
public void testShouldPreserveChildOrderingOfPluginsAfterParentMerge()
- Test that this is the resulting ordering of plugins after merging:
Given:
parent: X -> A -> B -> D -> E
child: Y -> A -> C -> D -> F
Result:
X -> Y -> A -> B -> C -> D -> E -> F
testShouldInheritOnePluginWithExecution
public void testShouldInheritOnePluginWithExecution()
testShouldMergeInheritedPluginHavingExecutionWithLocalPlugin
public void testShouldMergeInheritedPluginHavingExecutionWithLocalPlugin()
testShouldMergeOnePluginWithInheritExecutionWithoutDuplicatingPluginInList
public void testShouldMergeOnePluginWithInheritExecutionWithoutDuplicatingPluginInList()
testShouldMergePluginWithDifferentExecutionFromParentWithoutDuplicatingPluginInList
public void testShouldMergePluginWithDifferentExecutionFromParentWithoutDuplicatingPluginInList()
testShouldNOTMergeInheritedPluginHavingInheritEqualFalse
public void testShouldNOTMergeInheritedPluginHavingInheritEqualFalse()
testShouldKeepOriginalPluginOrdering
public void testShouldKeepOriginalPluginOrdering()
- Verifies MNG-1499: The order of the merged list should be the plugins specified by the parent followed by the
child list.
testShouldKeepOriginalPluginExecutionOrdering
public void testShouldKeepOriginalPluginExecutionOrdering()
- Verifies MNG-1499: The ordering of plugin executions should also be in the specified order.
testShouldOverwritePluginConfigurationSubItemsByDefault
public void testShouldOverwritePluginConfigurationSubItemsByDefault()
throws XmlPullParserException,
IOException
- Throws:
XmlPullParserException
IOException
testShouldMergePluginConfigurationSubItemsWithMergeAttributeSet
public void testShouldMergePluginConfigurationSubItemsWithMergeAttributeSet()
throws XmlPullParserException,
IOException
- Throws:
XmlPullParserException
IOException
testShouldNotMergePluginExecutionWhenExecInheritedIsFalseAndTreatAsInheritanceIsTrue
public void testShouldNotMergePluginExecutionWhenExecInheritedIsFalseAndTreatAsInheritanceIsTrue()
testShouldNotMergePluginExecutionWhenPluginInheritedIsFalseAndTreatAsInheritanceIsTrue
public void testShouldNotMergePluginExecutionWhenPluginInheritedIsFalseAndTreatAsInheritanceIsTrue()
testShouldMergePluginExecutionWhenExecInheritedIsTrueAndTreatAsInheritanceIsTrue
public void testShouldMergePluginExecutionWhenExecInheritedIsTrueAndTreatAsInheritanceIsTrue()
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.