|
||||||||||
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.plugin.doap.DoapMojoTest
public class DoapMojoTest
Test DoapMojo
class.
Field Summary |
---|
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
---|
basedir, container |
Constructor Summary | |
---|---|
DoapMojoTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testAboutParameter()
|
void |
testGeneratedDoap()
Verify the generation of a pure DOAP file. |
void |
testGeneratedDoapArtifact()
Verify the generation of a DOAP file from an artifact. |
void |
testGeneratedDoapArtifactMinimalist()
Verify the generation of a DOAP file from a minimalist artifact. |
void |
testGeneratedDoapForASF()
Verify the generation of a DOAP file with ASF extension. |
void |
testGeneratedExtraDoap()
Verify the generation of a DOAP file with extra extension. |
void |
testLangParameter()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DoapMojoTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Exception
protected void tearDown() throws Exception
tearDown
in class PlexusTestCase
Exception
public void testGeneratedDoap() throws Exception
Exception
- if anypublic void testLangParameter() throws Exception
Exception
- if anypublic void testAboutParameter() throws Exception
Exception
- if anypublic void testGeneratedDoapArtifact() throws Exception
Exception
- if anypublic void testGeneratedDoapArtifactMinimalist() throws Exception
Exception
- if anypublic void testGeneratedDoapForASF() throws Exception
Exception
- if anypublic void testGeneratedExtraDoap() throws Exception
Exception
- if any
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |