org.apache.maven.plugin.ant
Class AntMojoTest

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.ant.AntMojoTest
All Implemented Interfaces:
junit.framework.Test

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

Class to test Ant plugin

Version:
$Id: AntMojoTest.java 639646 2008-03-21 13:58:11Z bentmann $
Author:
Vincent Siveton

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
AntMojoTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testDefaultProject()
          Method to test Default Ant generation
 void testProjectWithJavadoc()
          Method to test Project with no dependencies
 void testProjectWithNoDep()
          Method to test Project with no dependencies
 
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

AntMojoTest

public AntMojoTest()
Method Detail

setUp

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

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class org.codehaus.plexus.PlexusTestCase
Throws:
Exception
See Also:
TestCase.tearDown()

testDefaultProject

public void testDefaultProject()
                        throws Exception
Method to test Default Ant generation

Throws:
Exception

testProjectWithNoDep

public void testProjectWithNoDep()
                          throws Exception
Method to test Project with no dependencies

Throws:
Exception

testProjectWithJavadoc

public void testProjectWithJavadoc()
                            throws Exception
Method to test Project with no dependencies

Throws:
Exception


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