org.apache.maven.plugin.compiler
Class CompilerMojoTestCase

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

public class CompilerMojoTestCase
extends AbstractMojoTestCase


Constructor Summary
CompilerMojoTestCase()
           
 
Method Summary
 void testCompileFailOnError()
           
 void testCompileFailure()
           
 void testCompilerArgs()
           
 void testCompilerBasic()
          tests the ability of the plugin to compile a basic file
 void testCompilerEmptySource()
          tests the ability of the plugin to respond to empty source
 void testCompilerFork()
          tests the ability of the plugin to fork and successfully compile
 void testCompilerIncludesExcludes()
          tests the ability of the plugin to respond to includes and excludes correctly
 void testOneOutputFileForAllInput()
           
 void testOneOutputFileForAllInput2()
           
 
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, setUp, 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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompilerMojoTestCase

public CompilerMojoTestCase()
Method Detail

testCompilerBasic

public void testCompilerBasic()
                       throws Exception
tests the ability of the plugin to compile a basic file

Throws:
Exception

testCompilerEmptySource

public void testCompilerEmptySource()
                             throws Exception
tests the ability of the plugin to respond to empty source

Throws:
Exception

testCompilerIncludesExcludes

public void testCompilerIncludesExcludes()
                                  throws Exception
tests the ability of the plugin to respond to includes and excludes correctly

Throws:
Exception

testCompilerFork

public void testCompilerFork()
                      throws Exception
tests the ability of the plugin to fork and successfully compile

Throws:
Exception

testOneOutputFileForAllInput

public void testOneOutputFileForAllInput()
                                  throws Exception
Throws:
Exception

testCompilerArgs

public void testCompilerArgs()
                      throws Exception
Throws:
Exception

testOneOutputFileForAllInput2

public void testOneOutputFileForAllInput2()
                                   throws Exception
Throws:
Exception

testCompileFailure

public void testCompileFailure()
                        throws Exception
Throws:
Exception

testCompileFailOnError

public void testCompileFailOnError()
                            throws Exception
Throws:
Exception


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.