org.apache.maven.plugin.testing
Class MojoTestCaseTest

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

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

Version:
$Id: MojoTestCaseTest.java 638332 2008-03-18 11:39:00Z bentmann $
Author:
Jason van Zyl

Constructor Summary
MojoTestCaseTest()
           
 
Method Summary
protected  void setUp()
          
 void testMojoConfiguration()
           
 void testPluginConfigurationExtraction()
           
 void testSettingMojoVariables()
           
 void testVariableAccessWithoutGetter()
           
 void testVariableAccessWithoutGetter2()
           
 
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setupContainer, setVariableValueToObject
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, 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

MojoTestCaseTest

public MojoTestCaseTest()
Method Detail

setUp

protected void setUp()
              throws Exception

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

testPluginConfigurationExtraction

public void testPluginConfigurationExtraction()
                                       throws Exception
Throws:
Exception - if any

testMojoConfiguration

public void testMojoConfiguration()
                           throws Exception
Throws:
Exception - if any

testVariableAccessWithoutGetter

public void testVariableAccessWithoutGetter()
                                     throws Exception
Throws:
Exception - if any

testVariableAccessWithoutGetter2

public void testVariableAccessWithoutGetter2()
                                      throws Exception
Throws:
Exception - if any

testSettingMojoVariables

public void testSettingMojoVariables()
                              throws Exception
Throws:
Exception - if any


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