org.apache.maven.plugin.ant
Class AntBuildWriterUtilTest

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.ant.AntBuildWriterUtilTest
All Implemented Interfaces:
Test

public class AntBuildWriterUtilTest
extends org.codehaus.plexus.PlexusTestCase

Test cases for 'org.apache.maven.plugin.ant.AntBuildWriterUtil'

Version:
$Id: AntBuildWriterUtilTest.java 639856 2008-03-21 21:28:30Z bentmann $
Author:
Vincent Siveton

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
AntBuildWriterUtilTest()
           
 
Method Summary
 void testGetMavenCompilerPluginConfiguration()
          Test method for 'org.apache.maven.plugin.ant.AntBuildWriterUtil.getMavenCompilerPluginConfiguration(MavenProject, String, String)'
 void testGetMavenJavadocPluginConfiguration()
          Test method for 'org.apache.maven.plugin.ant.AntBuildWriterUtil.getMavenJavadocPluginConfiguration(MavenProject, String, String)'
 void testGetMavenWarPluginConfiguration()
          Test method for 'org.apache.maven.plugin.ant.AntBuildWriterUtil.getMavenWarPluginConfiguration(MavenProject, String, String)'
static void testGetSingularForm()
          Test method for AntBuildWriterUtil#getSingularForm(String).
 void testWriteCommentLong()
          Test method for 'org.apache.maven.plugin.ant.AntBuildWriterUtil.writeComment(XMLWriter, String)'
 void testWriteCommentNull()
          Test method for 'org.apache.maven.plugin.ant.AntBuildWriterUtil.writeComment(XMLWriter, String)'
 void testWriteCommentShort()
          Test method for 'org.apache.maven.plugin.ant.AntBuildWriterUtil.writeComment(XMLWriter, String)'
 
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, setUp, tearDown
 
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

AntBuildWriterUtilTest

public AntBuildWriterUtilTest()
Method Detail

testWriteCommentNull

public void testWriteCommentNull()
Test method for 'org.apache.maven.plugin.ant.AntBuildWriterUtil.writeComment(XMLWriter, String)'


testWriteCommentShort

public void testWriteCommentShort()
Test method for 'org.apache.maven.plugin.ant.AntBuildWriterUtil.writeComment(XMLWriter, String)'


testWriteCommentLong

public void testWriteCommentLong()
Test method for 'org.apache.maven.plugin.ant.AntBuildWriterUtil.writeComment(XMLWriter, String)'


testGetMavenCompilerPluginConfiguration

public void testGetMavenCompilerPluginConfiguration()
                                             throws Exception
Test method for 'org.apache.maven.plugin.ant.AntBuildWriterUtil.getMavenCompilerPluginConfiguration(MavenProject, String, String)'

Throws:
Exception

testGetMavenWarPluginConfiguration

public void testGetMavenWarPluginConfiguration()
                                        throws Exception
Test method for 'org.apache.maven.plugin.ant.AntBuildWriterUtil.getMavenWarPluginConfiguration(MavenProject, String, String)'

Throws:
Exception

testGetMavenJavadocPluginConfiguration

public void testGetMavenJavadocPluginConfiguration()
                                            throws Exception
Test method for 'org.apache.maven.plugin.ant.AntBuildWriterUtil.getMavenJavadocPluginConfiguration(MavenProject, String, String)'

Throws:
Exception

testGetSingularForm

public static void testGetSingularForm()
                                throws Exception
Test method for AntBuildWriterUtil#getSingularForm(String).

Throws:
Exception


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