org.apache.maven.plugin.source
Class TestSourceJarMojoTest

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.source.AbstractSourcePluginTestCase
                      extended by org.apache.maven.plugin.source.TestSourceJarMojoTest
All Implemented Interfaces:
junit.framework.Test

public class TestSourceJarMojoTest
extends AbstractSourcePluginTestCase

Author:
Maria Odea Ching

Field Summary
 
Fields inherited from class org.apache.maven.plugin.source.AbstractSourcePluginTestCase
FINAL_NAME_PREFIX, FINAL_NAME_SUFFIX
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
TestSourceJarMojoTest()
           
 
Method Summary
protected  String getGoal()
           
 void testDefaultConfiguration()
           
 void testExcludes()
           
 void testNoSources()
           
 
Methods inherited from class org.apache.maven.plugin.source.AbstractSourcePluginTestCase
assertJarContent, assertSourceArchive, assertTestSourceArchive, buildFinalSourceName, buildFinalTestSourceName, doTestProject, doTestProjectWithSourceArchive, doTestProjectWithTestSourceArchive, executeMojo, getSourceArchive, getTestDir, getTestSourceArchive, getTestTargetDir
 
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setUp, 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, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestSourceJarMojoTest

public TestSourceJarMojoTest()
Method Detail

getGoal

protected String getGoal()
Specified by:
getGoal in class AbstractSourcePluginTestCase

testDefaultConfiguration

public void testDefaultConfiguration()
                              throws Exception
Throws:
Exception

testExcludes

public void testExcludes()
                  throws Exception
Throws:
Exception

testNoSources

public void testNoSources()
                   throws Exception
Throws:
Exception


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