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

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<JdkVersionProfileActivator>
                  extended by org.apache.maven.model.profile.activation.JdkVersionProfileActivatorTest
All Implemented Interfaces:
junit.framework.Test

public class JdkVersionProfileActivatorTest
extends AbstractProfileActivatorTest<JdkVersionProfileActivator>

Tests JdkVersionProfileActivator.

Author:
Benjamin Bentmann

Field Summary
 
Fields inherited from class org.apache.maven.model.profile.activation.AbstractProfileActivatorTest
activator
 
Constructor Summary
JdkVersionProfileActivatorTest()
           
 
Method Summary
 void testNullSafe()
           
 void testPrefix()
           
 void testPrefixNegated()
           
 void testVersionRangeExclusiveBounds()
           
 void testVersionRangeExclusiveUpperBound()
           
 void testVersionRangeInclusiveBounds()
           
 void testVersionRangeInclusiveLowerBound()
           
 
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

JdkVersionProfileActivatorTest

public JdkVersionProfileActivatorTest()
Method Detail

testNullSafe

public void testNullSafe()
                  throws Exception
Throws:
Exception

testPrefix

public void testPrefix()
                throws Exception
Throws:
Exception

testPrefixNegated

public void testPrefixNegated()
                       throws Exception
Throws:
Exception

testVersionRangeInclusiveBounds

public void testVersionRangeInclusiveBounds()
                                     throws Exception
Throws:
Exception

testVersionRangeExclusiveBounds

public void testVersionRangeExclusiveBounds()
                                     throws Exception
Throws:
Exception

testVersionRangeInclusiveLowerBound

public void testVersionRangeInclusiveLowerBound()
                                         throws Exception
Throws:
Exception

testVersionRangeExclusiveUpperBound

public void testVersionRangeExclusiveUpperBound()
                                         throws Exception
Throws:
Exception


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