|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.codehaus.plexus.PlexusTestCase org.apache.maven.plugin.testing.AbstractMojoTestCase org.apache.maven.plugins.repository.BundleCreateMojoTest
public class BundleCreateMojoTest
Field Summary |
---|
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
---|
basedir, container |
Constructor Summary | |
---|---|
BundleCreateMojoTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testDefaultconfiguration_RemoveOne()
|
void |
testDefaultconfiguration_RemoveTwo()
|
void |
testDefaultconfiguration_RemoveTwoUnordered()
|
void |
testDefaultconfiguration_RemoveTwoWithSpace()
|
void |
testDefaultconfiguration()
Test for repository plugin default configuration |
void |
testDefaults_PomPackaging()
Test for repository plugin with project.packaging == pom |
void |
testNoJavadocJar()
Test repository plugin when there is no javadoc jar to be included in the bundle |
void |
testNoJavadocSourcesJars()
Test repository plugin when there are no javadoc and sources jar files to be included in the bundle |
void |
testNoLicense()
Test repository plugin when license file does not exist |
void |
testNoProjectName()
Test repository plugin when there is no project name specified in the pom |
void |
testNoSourcesJar()
Test repository plugin when there is no sources jar to be included in the bundle |
void |
testNullScm()
Test repository plugin when the scm element is null |
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase |
---|
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObject |
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 |
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 |
---|
public BundleCreateMojoTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Exception
public void testDefaults_PomPackaging() throws Exception
Exception
public void testDefaultconfiguration() throws Exception
Exception
public void testDefaultconfiguration_RemoveOne() throws Exception
Exception
public void testDefaultconfiguration_RemoveTwo() throws Exception
Exception
public void testDefaultconfiguration_RemoveTwoUnordered() throws Exception
Exception
public void testDefaultconfiguration_RemoveTwoWithSpace() throws Exception
Exception
public void testNoJavadocJar() throws Exception
Exception
public void testNoSourcesJar() throws Exception
Exception
public void testNoJavadocSourcesJars() throws Exception
Exception
public void testNullScm() throws Exception
Exception
public void testNoLicense() throws Exception
Exception
public void testNoProjectName() throws Exception
Exception
protected void tearDown() throws Exception
tearDown
in class PlexusTestCase
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |