org.apache.maven.plugin.ear.util
Class ArtifactTypeMappingServiceTest

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

public class ArtifactTypeMappingServiceTest
extends junit.framework.TestCase

Tests for the ArtifactTypeMappingService

Version:
$Id: ArtifactTypeMappingServiceTest.java 942855 2010-05-10 19:13:52Z krosenvold $
Author:
Stephane Nicoll

Constructor Summary
ArtifactTypeMappingServiceTest()
           
 
Method Summary
protected  ArtifactTypeMappingService getDefaultService()
           
protected  ArtifactTypeMappingService getServiceWithRarMappingToMyRar()
           
 void testConfigWithNoMapping()
           
 void testConfigWithNoType()
           
 void testConfigWithSameCustomType()
           
 void testConfigWithUnknownStandardType()
           
 void testDefaultConfiguration()
           
 void testGetStandardTypeForKnownType()
           
 void testGetStandardTypeForUknonwnType()
           
 void testIsMappedToTypeForKnownType()
           
 void testIsMappedToTypeForUnknownType()
           
 
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

ArtifactTypeMappingServiceTest

public ArtifactTypeMappingServiceTest()
Method Detail

testDefaultConfiguration

public void testDefaultConfiguration()

testIsMappedToTypeForUnknownType

public void testIsMappedToTypeForUnknownType()

testIsMappedToTypeForKnownType

public void testIsMappedToTypeForKnownType()

testGetStandardTypeForUknonwnType

public void testGetStandardTypeForUknonwnType()

testGetStandardTypeForKnownType

public void testGetStandardTypeForKnownType()

testConfigWithSameCustomType

public void testConfigWithSameCustomType()

testConfigWithUnknownStandardType

public void testConfigWithUnknownStandardType()

testConfigWithNoType

public void testConfigWithNoType()

testConfigWithNoMapping

public void testConfigWithNoMapping()

getServiceWithRarMappingToMyRar

protected ArtifactTypeMappingService getServiceWithRarMappingToMyRar()

getDefaultService

protected ArtifactTypeMappingService getDefaultService()


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