org.apache.maven.shared.release.phase
Class CheckPomPhaseTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.shared.release.phase.CheckPomPhaseTest
All Implemented Interfaces:
Test

public class CheckPomPhaseTest
extends org.codehaus.plexus.PlexusTestCase

Test the POM verification check phase.

Author:
Brett Porter

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
CheckPomPhaseTest()
           
 
Method Summary
protected  void setUp()
           
 void testCorrectlyConfigured()
           
 void testGetInvalidProvider()
           
 void testGetInvalidUrl()
           
 void testGetUrlFromProjectConnection()
           
 void testGetUrlFromProjectConnectionSimulate()
           
 void testGetUrlFromProjectDevConnection()
           
 void testGetUrlFromProjectDevConnectionSimulate()
           
 void testMissingUrl()
           
 void testReleasingNonSnapshot()
           
 
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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CheckPomPhaseTest

public CheckPomPhaseTest()
Method Detail

setUp

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

testCorrectlyConfigured

public void testCorrectlyConfigured()
                             throws Exception
Throws:
Exception

testGetUrlFromProjectConnection

public void testGetUrlFromProjectConnection()
                                     throws Exception
Throws:
Exception

testGetUrlFromProjectConnectionSimulate

public void testGetUrlFromProjectConnectionSimulate()
                                             throws Exception
Throws:
Exception

testGetUrlFromProjectDevConnection

public void testGetUrlFromProjectDevConnection()
                                        throws Exception
Throws:
Exception

testGetUrlFromProjectDevConnectionSimulate

public void testGetUrlFromProjectDevConnectionSimulate()
                                                throws Exception
Throws:
Exception

testGetInvalidUrl

public void testGetInvalidUrl()
                       throws Exception
Throws:
Exception

testGetInvalidProvider

public void testGetInvalidProvider()
                            throws Exception
Throws:
Exception

testMissingUrl

public void testMissingUrl()
                    throws Exception
Throws:
Exception

testReleasingNonSnapshot

public void testReleasingNonSnapshot()
                              throws Exception
Throws:
Exception


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