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
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
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,
                                InterpolationException
Throws:
MojoExecutionException
InterpolationException

testNoVersionMapping

public void testNoVersionMapping()
                          throws MojoExecutionException,
                                 InterpolationException
Throws:
MojoExecutionException
InterpolationException

testMappingWithGroupId

public void testMappingWithGroupId()
                            throws MojoExecutionException,
                                   InterpolationException
Throws:
MojoExecutionException
InterpolationException

testMappingWithClassifier

public void testMappingWithClassifier()
                               throws MojoExecutionException,
                                      InterpolationException
Throws:
MojoExecutionException
InterpolationException

testMappingWithOptionalClassifier

public void testMappingWithOptionalClassifier()
                                       throws MojoExecutionException,
                                              InterpolationException
Test for MWAR-212.

Throws:
MojoExecutionException
InterpolationException


Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.