Package org.apache.maven.scm.plugin
Class ValidateMojoTest
- 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.ValidateMojoTest
-
- All Implemented Interfaces:
junit.framework.Test
public class ValidateMojoTest extends AbstractJUnit4MojoTestCase
- Author:
- Emmanuel Venisse
-
-
Constructor Summary
Constructors Constructor Description ValidateMojoTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testValidateWithInvalidScmUrls()
void
testValidateWithoutScmUrl()
void
testValidateWithValidScmUrls()
-
Methods inherited from class org.apache.maven.scm.plugin.AbstractJUnit4MojoTestCase
getBasedir, getTestFile, setUp, 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
-
ValidateMojoTest
public ValidateMojoTest()
-
-
Method Detail
-
testValidateWithoutScmUrl
public void testValidateWithoutScmUrl() throws Exception
- Throws:
Exception
-
testValidateWithValidScmUrls
public void testValidateWithValidScmUrls() throws Exception
- Throws:
Exception
-
testValidateWithInvalidScmUrls
public void testValidateWithInvalidScmUrls() throws Exception
- Throws:
Exception
-
-