org.apache.maven.plugin.doap
Class DoapUtilTest

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

public class DoapUtilTest
extends PlexusTestCase

Test DoapUtil class.

Version:
$Id$
Author:
Vincent Siveton

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
DoapUtilTest()
           
 
Method Summary
protected  void setUp()
          
protected  void tearDown()
          
 void testDevelopersOrContributorsByDoapRoles()
          Test method for: DoapUtil.getContributorsWithDeveloperRole(I18N, List) DoapUtil.getContributorsWithDocumenterRole(I18N, List) DoapUtil.getContributorsWithHelperRole(I18N, List) DoapUtil.getContributorsWithMaintainerRole(I18N, List) DoapUtil.getContributorsWithTesterRole(I18N, List) DoapUtil.getContributorsWithTranslatorRole(I18N, List) DoapUtil.getContributorsWithUnknownRole(I18N, List)
 void testInterpolate()
          Test method for: DoapUtil.interpolate(String, MavenProject, org.apache.maven.settings.Settings)
 void testValidate()
          Test method for: DoapUtil.validate(java.io.File)
 void testWriteElement()
          Test method for DoapUtil.writeElement(XMLWriter, String, String, String).
 void testWriteRdfResourceElement()
          Test method for DoapUtil#writeRdfResourceElement(XMLWriter, String, 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
 
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

DoapUtilTest

public DoapUtilTest()
Method Detail

setUp

protected void setUp()
              throws Exception

Overrides:
setUp in class PlexusTestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception

Overrides:
tearDown in class PlexusTestCase
Throws:
Exception

testWriteElement

public void testWriteElement()
                      throws Exception
Test method for DoapUtil.writeElement(XMLWriter, String, String, String).

Throws:
Exception - if any

testWriteRdfResourceElement

public void testWriteRdfResourceElement()
                                 throws Exception
Test method for DoapUtil#writeRdfResourceElement(XMLWriter, String, String).

Throws:
Exception - if any

testDevelopersOrContributorsByDoapRoles

public void testDevelopersOrContributorsByDoapRoles()
                                             throws Exception
Test method for: DoapUtil.getContributorsWithDeveloperRole(I18N, List) DoapUtil.getContributorsWithDocumenterRole(I18N, List) DoapUtil.getContributorsWithHelperRole(I18N, List) DoapUtil.getContributorsWithMaintainerRole(I18N, List) DoapUtil.getContributorsWithTesterRole(I18N, List) DoapUtil.getContributorsWithTranslatorRole(I18N, List) DoapUtil.getContributorsWithUnknownRole(I18N, List)

Throws:
Exception - if any

testValidate

public void testValidate()
                  throws Exception
Test method for: DoapUtil.validate(java.io.File)

Throws:
Exception - if any

testInterpolate

public void testInterpolate()
                     throws Exception
Test method for: DoapUtil.interpolate(String, MavenProject, org.apache.maven.settings.Settings)

Throws:
Exception - if any


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