org.apache.maven.shared.release.scm
Class DefaultScmRepositoryConfiguratorTest

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.scm.DefaultScmRepositoryConfiguratorTest
All Implemented Interfaces:
Test

public class DefaultScmRepositoryConfiguratorTest
extends org.codehaus.plexus.PlexusTestCase

Test the default SCM repository configurator.

Author:
Brett Porter

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
DefaultScmRepositoryConfiguratorTest()
           
 
Method Summary
protected  void setUp()
           
 void testGetConfiguredRepository()
           
 void testGetConfiguredRepositoryInvalidScmProvider()
           
 void testGetConfiguredRepositoryInvalidScmUrl()
           
 void testGetConfiguredRepositoryInvalidScmUrlParameters()
           
 void testGetConfiguredRepositoryWithEncryptedPasswords()
           
 void testGetConfiguredRepositoryWithHost()
           
 void testGetConfiguredRepositoryWithTagBase()
           
 void testGetConfiguredRepositoryWithUsernameAndPassword()
           
 void testGetRepositoryProvider()
           
 
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

DefaultScmRepositoryConfiguratorTest

public DefaultScmRepositoryConfiguratorTest()
Method Detail

setUp

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

testGetConfiguredRepository

public void testGetConfiguredRepository()
                                 throws ScmRepositoryException,
                                        NoSuchScmProviderException
Throws:
ScmRepositoryException
NoSuchScmProviderException

testGetConfiguredRepositoryWithUsernameAndPassword

public void testGetConfiguredRepositoryWithUsernameAndPassword()
                                                        throws ScmRepositoryException,
                                                               NoSuchScmProviderException
Throws:
ScmRepositoryException
NoSuchScmProviderException

testGetConfiguredRepositoryWithTagBase

public void testGetConfiguredRepositoryWithTagBase()
                                            throws ScmRepositoryException,
                                                   NoSuchScmProviderException
Throws:
ScmRepositoryException
NoSuchScmProviderException

testGetConfiguredRepositoryWithHost

public void testGetConfiguredRepositoryWithHost()
                                         throws ScmRepositoryException,
                                                NoSuchScmProviderException
Throws:
ScmRepositoryException
NoSuchScmProviderException

testGetConfiguredRepositoryWithEncryptedPasswords

public void testGetConfiguredRepositoryWithEncryptedPasswords()
                                                       throws ScmRepositoryException,
                                                              NoSuchScmProviderException
Throws:
ScmRepositoryException
NoSuchScmProviderException

testGetConfiguredRepositoryInvalidScmUrl

public void testGetConfiguredRepositoryInvalidScmUrl()
                                              throws Exception
Throws:
Exception

testGetConfiguredRepositoryInvalidScmProvider

public void testGetConfiguredRepositoryInvalidScmProvider()
                                                   throws ScmRepositoryException
Throws:
ScmRepositoryException

testGetConfiguredRepositoryInvalidScmUrlParameters

public void testGetConfiguredRepositoryInvalidScmUrlParameters()
                                                        throws NoSuchScmProviderException
Throws:
NoSuchScmProviderException

testGetRepositoryProvider

public void testGetRepositoryProvider()
                               throws ScmRepositoryException,
                                      NoSuchScmProviderException
Throws:
ScmRepositoryException
NoSuchScmProviderException


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