org.apache.maven.plugin.doap
Class DoapMojoTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.plugin.testing.AbstractMojoTestCase
                  extended by org.apache.maven.plugin.doap.DoapMojoTest
All Implemented Interfaces:
junit.framework.Test

public class DoapMojoTest
extends org.apache.maven.plugin.testing.AbstractMojoTestCase

Test DoapMojo class.

Version:
$Id$
Author:
Vincent Siveton

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

DoapMojoTest

public DoapMojoTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class PlexusTestCase
Throws:
Exception

testGeneratedDoap

public void testGeneratedDoap()
                       throws Exception
Verify the generation of a pure DOAP file.

Throws:
Exception - if any

testLangParameter

public void testLangParameter()
                       throws Exception
Throws:
Exception - if any

testAboutParameter

public void testAboutParameter()
                        throws Exception
Throws:
Exception - if any

testGeneratedDoapArtifact

public void testGeneratedDoapArtifact()
                               throws Exception
Verify the generation of a DOAP file from an artifact.

Throws:
Exception - if any

testGeneratedDoapArtifactMinimalist

public void testGeneratedDoapArtifactMinimalist()
                                         throws Exception
Verify the generation of a DOAP file from a minimalist artifact.

Throws:
Exception - if any

testGeneratedDoapForASF

public void testGeneratedDoapForASF()
                             throws Exception
Verify the generation of a DOAP file with ASF extension.

Throws:
Exception - if any

testGeneratedExtraDoap

public void testGeneratedExtraDoap()
                            throws Exception
Verify the generation of a DOAP file with extra extension.

Throws:
Exception - if any


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.