org.apache.maven.model.profile.activation
Class PropertyProfileActivatorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.model.profile.activation.AbstractProfileActivatorTest<PropertyProfileActivator>
                  extended by org.apache.maven.model.profile.activation.PropertyProfileActivatorTest
All Implemented Interfaces:
junit.framework.Test

public class PropertyProfileActivatorTest
extends AbstractProfileActivatorTest<PropertyProfileActivator>

Tests PropertyProfileActivator.

Author:
Benjamin Bentmann

Field Summary
 
Fields inherited from class org.apache.maven.model.profile.activation.AbstractProfileActivatorTest
activator
 
Constructor Summary
PropertyProfileActivatorTest()
           
 
Method Summary
 void testNullSafe()
           
 void testWithNameOnly_SystemProperty()
           
 void testWithNameOnly_UserProperty()
           
 void testWithNegatedNameOnly_SystemProperty()
           
 void testWithNegatedNameOnly_UserProperty()
           
 void testWithNegatedValue_SystemProperty()
           
 void testWithNegatedValue_UserProperty()
           
 void testWithValue_SystemProperty()
           
 void testWithValue_UserProperty()
           
 void testWithValue_UserPropertyDominantOverSystemProperty()
           
 
Methods inherited from class org.apache.maven.model.profile.activation.AbstractProfileActivatorTest
assertActivation, newContext, setUp, tearDown
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyProfileActivatorTest

public PropertyProfileActivatorTest()
Method Detail

testNullSafe

public void testNullSafe()
                  throws Exception
Throws:
Exception

testWithNameOnly_UserProperty

public void testWithNameOnly_UserProperty()
                                   throws Exception
Throws:
Exception

testWithNameOnly_SystemProperty

public void testWithNameOnly_SystemProperty()
                                     throws Exception
Throws:
Exception

testWithNegatedNameOnly_UserProperty

public void testWithNegatedNameOnly_UserProperty()
                                          throws Exception
Throws:
Exception

testWithNegatedNameOnly_SystemProperty

public void testWithNegatedNameOnly_SystemProperty()
                                            throws Exception
Throws:
Exception

testWithValue_UserProperty

public void testWithValue_UserProperty()
                                throws Exception
Throws:
Exception

testWithValue_SystemProperty

public void testWithValue_SystemProperty()
                                  throws Exception
Throws:
Exception

testWithNegatedValue_UserProperty

public void testWithNegatedValue_UserProperty()
                                       throws Exception
Throws:
Exception

testWithNegatedValue_SystemProperty

public void testWithNegatedValue_SystemProperty()
                                         throws Exception
Throws:
Exception

testWithValue_UserPropertyDominantOverSystemProperty

public void testWithValue_UserPropertyDominantOverSystemProperty()
                                                          throws Exception
Throws:
Exception


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