org.apache.maven.project.injection
Class DefaultProfileInjectorTest

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

public class DefaultProfileInjectorTest
extends junit.framework.TestCase


Constructor Summary
DefaultProfileInjectorTest()
           
 
Method Summary
 void testModelConfigShouldPersistWhenPluginHasExecConfigs()
           
 void testProfilePluginConfigurationShouldOverrideCollidingModelPluginConfiguration()
           
 void testProfileRepositoryShouldOverrideModelRepository()
           
 void testShouldPreserveModelModulesWhenProfileHasNone()
           
 void testShouldPreserveOrderingOfPluginsAfterProfileMerge()
          Test that this is the resulting ordering of plugins after merging: Given: model: X -> A -> B -> D -> E profile: Y -> A -> C -> D -> F Result: X -> Y -> A -> B -> C -> D -> E -> F
 void testShouldPreserveOrderingOfProfileInjectedPluginExecutions()
           
 void testShouldUseProfilePluginDependencyVersionOverMainPluginDepVersion()
           
 
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

DefaultProfileInjectorTest

public DefaultProfileInjectorTest()
Method Detail

testShouldUseProfilePluginDependencyVersionOverMainPluginDepVersion

public void testShouldUseProfilePluginDependencyVersionOverMainPluginDepVersion()

testShouldPreserveOrderingOfPluginsAfterProfileMerge

public void testShouldPreserveOrderingOfPluginsAfterProfileMerge()
Test that this is the resulting ordering of plugins after merging: Given: model: X -> A -> B -> D -> E profile: Y -> A -> C -> D -> F Result: X -> Y -> A -> B -> C -> D -> E -> F


testProfilePluginConfigurationShouldOverrideCollidingModelPluginConfiguration

public void testProfilePluginConfigurationShouldOverrideCollidingModelPluginConfiguration()

testModelConfigShouldPersistWhenPluginHasExecConfigs

public void testModelConfigShouldPersistWhenPluginHasExecConfigs()

testProfileRepositoryShouldOverrideModelRepository

public void testProfileRepositoryShouldOverrideModelRepository()

testShouldPreserveModelModulesWhenProfileHasNone

public void testShouldPreserveModelModulesWhenProfileHasNone()

testShouldPreserveOrderingOfProfileInjectedPluginExecutions

public void testShouldPreserveOrderingOfProfileInjectedPluginExecutions()


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