|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
com.googlecode.refit.mojo.FitRunnerMojo
public class FitRunnerMojo
Mojo to run Fit tests via a Fixture
| Field Summary | |
|---|---|
protected boolean |
caseSensitive
Flag to indicate that path names are case sensitive |
protected List<String> |
classpathElements
Classpath. |
protected boolean |
ignoreFailures
The option to ignore fixture failures |
protected String |
outputDirectory
The output directory where the results of Fit processing is written to |
protected String[] |
parseTags
The parse tags used to identify the Fit tables. |
protected boolean |
skip
Flag for skipping Fit execution. |
protected String |
sourceDirectory
The source directory containing the Fit fixtures |
protected String |
sourceExcludes
The filter for source file excludes, relative to the source directory, as CSV patterns. |
protected 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 Fixture |
createFixture()
|
protected void |
ensureDirectoryExists(String path)
|
void |
execute()
|
protected boolean |
failed(Fixture fixture)
|
protected ClasspathClassLoader |
getTestClassLoader()
|
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 |
| Field Detail |
|---|
protected List<String> classpathElements
protected String sourceDirectory
protected boolean caseSensitive
protected String sourceIncludes
protected String sourceExcludes
protected String[] parseTags
protected String outputDirectory
protected boolean ignoreFailures
protected boolean skip
| 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.MojoFailureExceptionprotected Fixture createFixture()
protected ClasspathClassLoader getTestClassLoader()
protected String toPath(String directory,
String name)
protected String[] listFiles(String sourceDirectory,
boolean caseSensitive,
String sourceIncludes,
String sourceExcludes)
protected void ensureDirectoryExists(String path)
throws IOException
IOException
protected void run(String sourceDirectory,
boolean caseSensitive,
String sourceIncludes,
String sourceExcludes,
String outputDirectory)
throws Exception
Exception
protected void run(String in,
String out)
throws IOException,
ParseException
IOException
ParseException
protected void run(File in,
File out)
throws IOException,
ParseException
IOException
ParseException
protected void run(Reader reader,
Writer writer)
throws IOException,
ParseException
IOException
ParseExceptionprotected boolean failed(Fixture fixture)
protected String read(Reader in)
throws IOException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||