public abstract class AbstractCartridgeTestMojo extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected File |
actualDirectory
Specifies the directory that contains the "actual" output (meaning the output
that was currently generated)
|
protected ArchiverManager |
archiverManager
To look up Archiver/UnArchiver implementations
|
protected String |
binaryOutputSuffixes
Defines the extensions of binary files, binary files are checked for presence
and equality, however they aren't compared as strings, like every other file.
|
protected String |
configurationUri
This is the URI to the AndroMDA configuration file.
|
protected File |
expectedDirectory
Specifies the directory that contains the "expected" output.
|
protected File |
expectedOutputArchive
The location of the archive storing the expected output.
|
protected boolean |
lastModifiedCheck
Set this to 'true' to skip code generation if code has not changed since the latest model date.
|
protected org.apache.maven.project.MavenProject |
project |
protected List<String> |
propertyFiles |
protected File |
reportDirectory
Base directory to which the cartridge test report is written
|
protected Settings |
settings
The current user system settings for use in Maven.
|
protected boolean |
skip
Set this to 'true' to bypass cartridge tests entirely.
|
protected boolean |
skipTests
Set this to 'true' to skip running tests, but still compile them.
|
protected boolean |
testFailureIgnore
Set this to true to ignore a failure during testing.
|
Constructor and Description |
---|
AbstractCartridgeTestMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
changeScopeForTestDependencies()
Adds any dependencies for the cartridge plugin
to the current dependencies of the project.
|
protected void |
unpack(File file,
File location)
Unpacks the expected archive file to the expected directory
|
getLog, getPluginContext, setLog, setPluginContext
protected File reportDirectory
protected File actualDirectory
protected File expectedDirectory
protected File expectedOutputArchive
protected String configurationUri
protected org.apache.maven.project.MavenProject project
protected List<String> propertyFiles
protected Settings settings
protected String binaryOutputSuffixes
protected ArchiverManager archiverManager
protected boolean skip
protected boolean skipTests
protected boolean testFailureIgnore
protected boolean lastModifiedCheck
public AbstractCartridgeTestMojo()
protected void changeScopeForTestDependencies()
protected void unpack(File file, File location) throws org.apache.maven.plugin.MojoExecutionException
file
- File to be unpacked.location
- Location where to put the unpacked files.org.apache.maven.plugin.MojoExecutionException
- Error unpacking fileCopyright © 2005–2014 AndroMDA.org. All rights reserved.