org.apache.maven.shared.release.scm
Class DefaultScmRepositoryConfiguratorTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
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
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
basedir, container |
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.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 |
DefaultScmRepositoryConfiguratorTest
public DefaultScmRepositoryConfiguratorTest()
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.