org.codehaus.mojo.fit
Class FitRunnerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.fit.FitRunnerMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class FitRunnerMojo
- extends org.apache.maven.plugin.AbstractMojo
Mojo to run Fit tests via a Fixture
- Author:
- Mauro Talevi
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
protected fit.Fixture |
createFixture()
|
protected void |
ensureDirectoryExists(String path)
|
void |
execute()
|
protected boolean |
failed(fit.Fixture fixture)
|
protected String[] |
listFiles(String sourceDirectory,
boolean caseSensitive,
String sourceIncludes,
String sourceExcludes)
|
protected String |
read(Reader in)
|
protected void |
run(File in,
File out)
|
protected void |
run(Reader reader,
Writer writer)
|
protected void |
run(String sourceDirectory,
boolean caseSensitive,
String sourceIncludes,
String sourceExcludes,
String outputDirectory)
|
protected void |
run(String in,
String out)
|
protected String |
toPath(String directory,
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 |
FitRunnerMojo
public FitRunnerMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
createFixture
protected fit.Fixture createFixture()
throws MalformedURLException
- Throws:
MalformedURLException
toPath
protected String toPath(String directory,
String name)
listFiles
protected String[] listFiles(String sourceDirectory,
boolean caseSensitive,
String sourceIncludes,
String sourceExcludes)
ensureDirectoryExists
protected void ensureDirectoryExists(String path)
throws IOException
- Throws:
IOException
run
protected void run(String sourceDirectory,
boolean caseSensitive,
String sourceIncludes,
String sourceExcludes,
String outputDirectory)
throws Exception
- Throws:
Exception
run
protected void run(String in,
String out)
throws IOException,
ParseException
- Throws:
IOException
ParseException
run
protected void run(File in,
File out)
throws IOException,
ParseException
- Throws:
IOException
ParseException
run
protected void run(Reader reader,
Writer writer)
throws IOException,
ParseException
- Throws:
IOException
ParseException
failed
protected boolean failed(fit.Fixture fixture)
read
protected String read(Reader in)
throws IOException
- Throws:
IOException
Copyright © 2006-2011 Codehaus. All Rights Reserved.