org.apache.maven.plugin.war.util
Class MappingUtilsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.plugin.war.util.MappingUtilsTest
All Implemented Interfaces:
Test

public class MappingUtilsTest
extends TestCase

Tests the mapping of file names.

Author:
Stephane Nicoll

Constructor Summary
MappingUtilsTest()
           
 
Method Summary
 void testCompleteMapping()
           
 void testMappingWithClassifier()
           
 void testMappingWithGroupId()
           
 void testMappingWithOptionalClassifier()
          Test for MWAR-212.
 void testNoVersionMapping()
           
 
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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MappingUtilsTest

public MappingUtilsTest()
Method Detail

testCompleteMapping

public void testCompleteMapping()
                         throws MojoExecutionException,
                                org.codehaus.plexus.interpolation.InterpolationException
Throws:
MojoExecutionException
org.codehaus.plexus.interpolation.InterpolationException

testNoVersionMapping

public void testNoVersionMapping()
                          throws MojoExecutionException,
                                 org.codehaus.plexus.interpolation.InterpolationException
Throws:
MojoExecutionException
org.codehaus.plexus.interpolation.InterpolationException

testMappingWithGroupId

public void testMappingWithGroupId()
                            throws MojoExecutionException,
                                   org.codehaus.plexus.interpolation.InterpolationException
Throws:
MojoExecutionException
org.codehaus.plexus.interpolation.InterpolationException

testMappingWithClassifier

public void testMappingWithClassifier()
                               throws MojoExecutionException,
                                      org.codehaus.plexus.interpolation.InterpolationException
Throws:
MojoExecutionException
org.codehaus.plexus.interpolation.InterpolationException

testMappingWithOptionalClassifier

public void testMappingWithOptionalClassifier()
                                       throws MojoExecutionException,
                                              org.codehaus.plexus.interpolation.InterpolationException
Test for MWAR-212.

Throws:
MojoExecutionException
org.codehaus.plexus.interpolation.InterpolationException


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.