public class BundleCreateMojoTest extends AbstractMojoTestCase
| Constructor and Description |
|---|
BundleCreateMojoTest() |
| Modifier and Type | Method and Description |
|---|---|
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
|
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObjectcreateContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, releasecountTestCases, createResult, getName, run, run, runBare, runTest, setName, toStringassertEquals, 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, formatprotected void setUp()
throws Exception
setUp in class AbstractMojoTestCaseExceptionpublic void testDefaults_PomPackaging()
throws Exception
Exceptionpublic void testDefaultconfiguration()
throws Exception
Exceptionpublic void testDefaultconfiguration_RemoveOne()
throws Exception
Exceptionpublic void testDefaultconfiguration_RemoveTwo()
throws Exception
Exceptionpublic void testDefaultconfiguration_RemoveTwoUnordered()
throws Exception
Exceptionpublic void testDefaultconfiguration_RemoveTwoWithSpace()
throws Exception
Exceptionpublic void testNoJavadocJar()
throws Exception
Exceptionpublic void testNoSourcesJar()
throws Exception
Exceptionpublic void testNoJavadocSourcesJars()
throws Exception
Exceptionpublic void testNullScm()
throws Exception
Exceptionpublic void testNoLicense()
throws Exception
Exceptionpublic void testNoProjectName()
throws Exception
ExceptionCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.