|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.fit.FitRunnerMojo
Mojo to run Fit tests via a Fixture
Field Summary | |
protected boolean |
caseSensitive
Flag to indicate that path names are case sensitive |
protected java.util.List |
classpathElements
Compile classpath. |
protected boolean |
ignoreFailures
The option to ignore fixture failures |
protected java.lang.String |
outputDirectory
The output directory where the results of Fit processing is written to |
protected java.lang.String[] |
parseTags
The parsee tags used to identify the Fit tables. |
protected java.lang.String |
sourceDirectory
The source directory containing the Fit fixtures |
protected java.lang.String |
sourceExcludes
The filter for source file excludes, relative to the source directory, as CSV patterns. |
protected java.lang.String |
sourceIncludes
The filter for source file includes, relative to the source directory, as CSV patterns. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Constructor Summary | |
FitRunnerMojo()
|
Method Summary | |
protected fit.Fixture |
createFixture()
|
protected void |
ensureDirectoryExists(java.lang.String path)
|
void |
execute()
|
protected boolean |
failed(fit.Fixture fixture)
|
protected java.lang.String[] |
listFiles(java.lang.String sourceDirectory,
boolean caseSensitive,
java.lang.String sourceIncludes,
java.lang.String sourceExcludes)
|
protected java.lang.String |
read(java.io.Reader in)
|
protected void |
run(java.io.File in,
java.io.File out)
|
protected void |
run(java.io.Reader reader,
java.io.Writer writer)
|
protected void |
run(java.lang.String sourceDirectory,
boolean caseSensitive,
java.lang.String sourceIncludes,
java.lang.String sourceExcludes,
java.lang.String outputDirectory)
|
protected void |
run(java.lang.String in,
java.lang.String out)
|
protected java.lang.String |
toPath(java.lang.String directory,
java.lang.String name)
|
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.List classpathElements
protected java.lang.String sourceDirectory
protected boolean caseSensitive
protected java.lang.String sourceIncludes
protected java.lang.String sourceExcludes
protected java.lang.String[] parseTags
protected java.lang.String outputDirectory
protected boolean ignoreFailures
Constructor Detail |
public FitRunnerMojo()
Method Detail |
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected fit.Fixture createFixture() throws java.net.MalformedURLException
java.net.MalformedURLException
protected java.lang.String toPath(java.lang.String directory, java.lang.String name)
protected java.lang.String[] listFiles(java.lang.String sourceDirectory, boolean caseSensitive, java.lang.String sourceIncludes, java.lang.String sourceExcludes)
protected void ensureDirectoryExists(java.lang.String path) throws java.io.IOException
java.io.IOException
protected void run(java.lang.String sourceDirectory, boolean caseSensitive, java.lang.String sourceIncludes, java.lang.String sourceExcludes, java.lang.String outputDirectory) throws java.lang.Exception
java.lang.Exception
protected void run(java.lang.String in, java.lang.String out) throws java.io.IOException, java.text.ParseException
java.io.IOException
java.text.ParseException
protected void run(java.io.File in, java.io.File out) throws java.io.IOException, java.text.ParseException
java.io.IOException
java.text.ParseException
protected void run(java.io.Reader reader, java.io.Writer writer) throws java.io.IOException, java.text.ParseException
java.io.IOException
java.text.ParseException
protected boolean failed(fit.Fixture fixture)
protected java.lang.String read(java.io.Reader in) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |