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:
junit.framework.Test

public class MappingUtilsTest
extends junit.framework.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
 
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 org.apache.maven.plugin.MojoExecutionException,
                                org.codehaus.plexus.interpolation.InterpolationException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.codehaus.plexus.interpolation.InterpolationException

testNoVersionMapping

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

testMappingWithGroupId

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

testMappingWithClassifier

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

testMappingWithOptionalClassifier

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

Throws:
org.apache.maven.plugin.MojoExecutionException
org.codehaus.plexus.interpolation.InterpolationException


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