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, setVariableValueToObject
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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
protected void setUp() throws Exception
setUp
in class 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
Copyright © 2002–2019 The Apache Software Foundation. All rights reserved.