org.apache.maven.model.converter
Class PomV3ToV4TranslatorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.model.converter.PomV3ToV4TranslatorTest
All Implemented Interfaces:
junit.framework.Test

public class PomV3ToV4TranslatorTest
extends org.codehaus.plexus.PlexusTestCase


Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
PomV3ToV4TranslatorTest()
           
 
Method Summary
protected  void setUp()
           
 void testConvertedEmptyResourceDirectory()
           
 void testDontBreakWithMalformedOptionalProperty()
           
 void testShouldConvertDependencyWithTypePluginAndGroupMavenToBuildPluginEntryWithOAMPluginsGroup()
           
 void testShouldConvertDependencyWithTypePluginToBuildPluginEntry()
           
 void testShouldConvertOptionalPropertyToDependencyOptional()
           
 void testShouldConvertPropertiesSection()
           
 void testShouldConvertScopePropertyToDependencyScope()
           
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PomV3ToV4TranslatorTest

public PomV3ToV4TranslatorTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class org.codehaus.plexus.PlexusTestCase
Throws:
Exception

testShouldConvertPropertiesSection

public void testShouldConvertPropertiesSection()
                                        throws Exception
Throws:
Exception

testConvertedEmptyResourceDirectory

public void testConvertedEmptyResourceDirectory()
                                         throws PomTranslationException
Throws:
PomTranslationException

testShouldConvertScopePropertyToDependencyScope

public void testShouldConvertScopePropertyToDependencyScope()
                                                     throws Exception
Throws:
Exception

testShouldConvertOptionalPropertyToDependencyOptional

public void testShouldConvertOptionalPropertyToDependencyOptional()
                                                           throws Exception
Throws:
Exception

testDontBreakWithMalformedOptionalProperty

public void testDontBreakWithMalformedOptionalProperty()
                                                throws Exception
Throws:
Exception

testShouldConvertDependencyWithTypePluginToBuildPluginEntry

public void testShouldConvertDependencyWithTypePluginToBuildPluginEntry()
                                                                 throws Exception
Throws:
Exception

testShouldConvertDependencyWithTypePluginAndGroupMavenToBuildPluginEntryWithOAMPluginsGroup

public void testShouldConvertDependencyWithTypePluginAndGroupMavenToBuildPluginEntryWithOAMPluginsGroup()
                                                                                                 throws Exception
Throws:
Exception


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