org.apache.maven.plugin.jxr
Class JxrReportTest

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

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

Author:
Maria Odea Ching, Dennis Lundberg

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
JxrReportTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAggregate()
          Method for testing plugin when aggregate parameter is set to true
 void testDefaultConfiguration()
          Test the plugin with default configuration
 void testExceptions()
           
 void testExclude()
          Test the plugin with an exclude configuration.
 void testInclude()
          Test the plugin with an include configuration.
 void testNoJavadocDir()
          Method for testing plugin when the specified javadocDir does not exist
 void testNoJavadocLink()
          Test when javadocLink is disabled in the configuration
 void testPom()
          Test the jxr for a POM project.
 
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

JxrReportTest

public JxrReportTest()
Method Detail

setUp

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

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class PlexusTestCase
Throws:
java.lang.Exception
See Also:
PlexusTestCase.tearDown()

testDefaultConfiguration

public void testDefaultConfiguration()
                              throws java.lang.Exception
Test the plugin with default configuration

Throws:
java.lang.Exception

testNoJavadocLink

public void testNoJavadocLink()
                       throws java.lang.Exception
Test when javadocLink is disabled in the configuration

Throws:
java.lang.Exception

testAggregate

public void testAggregate()
                   throws java.lang.Exception
Method for testing plugin when aggregate parameter is set to true

Throws:
java.lang.Exception

testNoJavadocDir

public void testNoJavadocDir()
                      throws java.lang.Exception
Method for testing plugin when the specified javadocDir does not exist

Throws:
java.lang.Exception

testExclude

public void testExclude()
                 throws java.lang.Exception
Test the plugin with an exclude configuration.

Throws:
java.lang.Exception

testInclude

public void testInclude()
                 throws java.lang.Exception
Test the plugin with an include configuration.

Throws:
java.lang.Exception

testExceptions

public void testExceptions()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testPom

public void testPom()
             throws java.lang.Exception
Test the jxr for a POM project.

Throws:
java.lang.Exception


Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.