org.apache.maven.shared.mapping
Class MappingUtilsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.shared.mapping.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 testMappingWithNullClassifier()
           
 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 InterpolationException
Throws:
InterpolationException

testNoVersionMapping

public void testNoVersionMapping()
                          throws InterpolationException
Throws:
InterpolationException

testMappingWithGroupId

public void testMappingWithGroupId()
                            throws InterpolationException
Throws:
InterpolationException

testMappingWithClassifier

public void testMappingWithClassifier()
                               throws InterpolationException
Throws:
InterpolationException

testMappingWithNullClassifier

public void testMappingWithNullClassifier()
                                   throws InterpolationException
Throws:
InterpolationException

testMappingWithOptionalClassifier

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

Throws:
InterpolationException


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