Package org.apache.maven.scm.plugin
Class CheckoutMojoTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.codehaus.plexus.PlexusTestCase
-
- org.apache.maven.plugin.testing.AbstractMojoTestCase
-
- org.apache.maven.scm.plugin.AbstractJUnit4MojoTestCase
-
- org.apache.maven.scm.plugin.CheckoutMojoTest
-
- All Implemented Interfaces:
junit.framework.Test
public class CheckoutMojoTest extends AbstractJUnit4MojoTestCase
- Author:
- Emmanuel Venisse
-
-
Constructor Summary
Constructors Constructor Description CheckoutMojoTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestEncryptedPasswordFromSettings()voidtestExcludeInclude()voidtestSkipCheckoutWhenCheckoutDirectoryExistsAndSkip()voidtestSkipCheckoutWithConnectionUrl()voidtestSkipCheckoutWithoutConnectionUrl()voidtestUseExport()-
Methods inherited from class org.apache.maven.scm.plugin.AbstractJUnit4MojoTestCase
getBasedir, getTestFile, tearDown
-
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase
addGuiceModules, configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObject
-
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeContainerConfiguration, customizeContext, getClassLoader, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, teardownContainer
-
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
-
-
-
Constructor Detail
-
CheckoutMojoTest
public CheckoutMojoTest()
-
-
Method Detail
-
setUp
public void setUp() throws Exception
- Overrides:
setUpin classAbstractJUnit4MojoTestCase- Throws:
Exception
-
testSkipCheckoutWhenCheckoutDirectoryExistsAndSkip
public void testSkipCheckoutWhenCheckoutDirectoryExistsAndSkip() throws Exception
- Throws:
Exception
-
testSkipCheckoutWithConnectionUrl
public void testSkipCheckoutWithConnectionUrl() throws Exception
- Throws:
Exception
-
testSkipCheckoutWithoutConnectionUrl
public void testSkipCheckoutWithoutConnectionUrl() throws Exception
- Throws:
Exception
-
testUseExport
public void testUseExport() throws Exception
- Throws:
Exception
-
testExcludeInclude
public void testExcludeInclude() throws Exception
- Throws:
Exception
-
testEncryptedPasswordFromSettings
public void testEncryptedPasswordFromSettings() throws Exception
- Throws:
Exception
-
-