public class CompilerMojoTestCase extends AbstractMojoTestCase
Constructor and Description |
---|
CompilerMojoTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
void |
testCompileFailOnError() |
void |
testCompileFailure() |
void |
testCompilerArgs() |
void |
testCompilerBasic()
tests the ability of the plugin to compile a basic file
|
void |
testCompilerBasicSourceTarget() |
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 |
testCompileSkipMain()
Tests that setting 'skipMain' to true skips compilation of the main Java source files, but that test Java source
files are still compiled.
|
void |
testCompileSkipTest()
Tests that setting 'skip' to true skips compilation of the test Java source files, but that main Java source
files are still compiled.
|
void |
testOneOutputFileForAllInput() |
void |
testOneOutputFileForAllInput2() |
addGuiceModules, configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObject
customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, tearDown, teardownContainer
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
protected void setUp() throws Exception
setUp
in class AbstractMojoTestCase
Exception
public void testCompilerBasic() throws Exception
Exception
public void testCompilerBasicSourceTarget() throws Exception
Exception
public void testCompilerEmptySource() throws Exception
Exception
public void testCompilerIncludesExcludes() throws Exception
Exception
public void testCompilerFork() throws Exception
Exception
public void testOneOutputFileForAllInput() throws Exception
Exception
public void testOneOutputFileForAllInput2() throws Exception
Exception
public void testCompileSkipMain() throws Exception
Exception
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.