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 1228849 2012-01-08 14:04:07Z rfscholte $
Author:
Stephane Nicoll

Constructor Summary
ArtifactTypeMappingServiceTest()
           
 
Method Summary
protected  org.apache.maven.plugin.ear.util.ArtifactTypeMappingService getDefaultService()
           
protected  org.apache.maven.plugin.ear.util.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 org.apache.maven.plugin.ear.util.ArtifactTypeMappingService getServiceWithRarMappingToMyRar()

getDefaultService

protected org.apache.maven.plugin.ear.util.ArtifactTypeMappingService getDefaultService()


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