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 testGeneratedDoap()
          Verify the generation of a pure DOAP file.
 void testGeneratedDoapForASF()
          Verify the generation of a DOAP file with ASF extension.
 
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 java.lang.Exception

Overrides:
setUp in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception

Overrides:
tearDown in class org.codehaus.plexus.PlexusTestCase
Throws:
java.lang.Exception

testGeneratedDoap

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

Throws:
java.lang.Exception - if any

testGeneratedDoapForASF

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

Throws:
java.lang.Exception - if any


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