info.rvin.flexmojo.test
Class FlexUnitMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
info.rvin.mojo.flexmojo.AbstractIrvinMojo
info.rvin.flexmojo.test.FlexUnitMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class FlexUnitMojo
- extends AbstractIrvinMojo
Goal to run FlexUnit tests. Based on: http://weblogs.macromedia.com/pmartin/archives/2007/09/flexunit_for_an_2.cfm
|
Field Summary |
protected java.io.File |
swf
|
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
|
Method Summary |
void |
execute()
Executes plugin |
protected void |
run()
Perform plugin functionality |
protected void |
setUp()
Called by Ant to execute the task. |
protected void |
tearDown()
Perform (cleanup) actions after plugin has run |
| 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 |
swf
protected java.io.File swf
FlexUnitMojo
public FlexUnitMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Description copied from class:
AbstractIrvinMojo
- Executes plugin
- Specified by:
execute in interface org.apache.maven.plugin.Mojo- Overrides:
execute in class AbstractIrvinMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
setUp
protected void setUp()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Called by Ant to execute the task.
- Specified by:
setUp in class AbstractIrvinMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
run
protected void run()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Description copied from class:
AbstractIrvinMojo
- Perform plugin functionality
- Specified by:
run in class AbstractIrvinMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
tearDown
protected void tearDown()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Description copied from class:
AbstractIrvinMojo
- Perform (cleanup) actions after plugin has run
- Specified by:
tearDown in class AbstractIrvinMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2008-2009 Flex-Mojos. All Rights Reserved.