org.apache.maven.profiles
Class DefaultProfileManagerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.profiles.DefaultProfileManagerTest
All Implemented Interfaces:
junit.framework.Test

public class DefaultProfileManagerTest
extends org.codehaus.plexus.PlexusTestCase


Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
DefaultProfileManagerTest()
           
 
Method Summary
 void testFileActivationProfile()
           
 void testOsActivationProfile()
           
 void testShouldActivateDefaultProfile()
           
 void testShouldActivateNonExistantSettingsProfile()
           
 void testShouldNotActivateDefaultProfile()
           
 void testShouldNotActivateReversalOfPresentSystemProperty()
           
 void testShouldOverrideAndActivateInactiveProfile()
           
 void testShouldOverrideAndDeactivateActiveProfile()
           
 
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, setUp, 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

DefaultProfileManagerTest

public DefaultProfileManagerTest()
Method Detail

testShouldActivateNonExistantSettingsProfile

public void testShouldActivateNonExistantSettingsProfile()
                                                  throws ProfileActivationException
Throws:
ProfileActivationException

testShouldActivateDefaultProfile

public void testShouldActivateDefaultProfile()
                                      throws ProfileActivationException
Throws:
ProfileActivationException

testShouldNotActivateDefaultProfile

public void testShouldNotActivateDefaultProfile()
                                         throws ProfileActivationException
Throws:
ProfileActivationException

testShouldNotActivateReversalOfPresentSystemProperty

public void testShouldNotActivateReversalOfPresentSystemProperty()
                                                          throws ProfileActivationException
Throws:
ProfileActivationException

testShouldOverrideAndActivateInactiveProfile

public void testShouldOverrideAndActivateInactiveProfile()
                                                  throws ProfileActivationException
Throws:
ProfileActivationException

testShouldOverrideAndDeactivateActiveProfile

public void testShouldOverrideAndDeactivateActiveProfile()
                                                  throws ProfileActivationException
Throws:
ProfileActivationException

testOsActivationProfile

public void testOsActivationProfile()
                             throws ProfileActivationException
Throws:
ProfileActivationException

testFileActivationProfile

public void testFileActivationProfile()
                               throws ProfileActivationException,
                                      IOException
Throws:
ProfileActivationException
IOException


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