public class TestRunMojo extends AbstractMavenMojo implements org.apache.maven.plugin.Mojo, SourcePathAware
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
coverage
Uses instruments the bytecode (using apparat) to create test coverage report.
|
protected File |
coverageOutputDirectory
Location to write coverage report
|
protected List<String> |
coverageReportFormat
The coverage report format.
|
AIR_GLOBAL, AIR_GROUP_ID, airVersion, archiverManager, cache, configDirectory, DATE_FORMAT, DEFAULT_RSL_URLS, DEFAULT_RUNTIME_LOCALE_OUTPUT_PATH, FLASH_GROUP_ID, flashVersion, fullSynchronization, GLOBAL_MATCHER, localRepository, packaging, PLAYER_GLOBAL, pluginArtifacts, project, projectHelper, quick, remoteRepositories, repositorySystem, resources, RETURNS_NULL, session, TARGET_DIRECTORY, targetDirectory| Constructor and Description |
|---|
TestRunMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
fmExecute()
Create a server socket for receiving the test reports from FlexUnit.
|
File[] |
getSourcePath() |
protected void |
run() |
void |
runTest(String swfName,
Integer testPort,
Integer testControlPort,
CoverageReporter reporter) |
List<String> |
runTest(TestRequest testRequest) |
void |
runTests(String[] swfs,
CoverageReporter reporter) |
protected void |
tearDown() |
as3ClassesFileSet, checkResult, createSwfDescriptor, execute, filterClasses, filterFiles, getAirGlobal, getAirTarget, getAirVersion, getBasedir, getBuildDirectory, getCache, getCompilerArtifact, getCompilerGroupId, getCompilerVersion, getDependencies, getDependencies, getDependency, getFdkGroupId, getFlashGlobal, getFlashVersion, getFrameworkArtifact, getFrameworkArtifactVersion, getFrameworkConfig, getFrameworkGroupId, getFrameworkVersion, getFromPluginContext, getGlobalArtifact, getIsAirProject, getIsFlashProject, getLog, getMavenLogger, getMavenPathResolver, getOutputDirectory, getPluginContext, getResourcesTargetDirectories, getSession, getTargetDirectory, getUnpackedArtifact, getUnpackedArtifact, getUnpackedFrameworkConfig, initGlobalMatcher, isSkip, putPluginContext, resolve, scan, scan, scan, setArchiverManager, setLog, setPluginContext, toClass, wait, waitprotected boolean coverage
protected File coverageOutputDirectory
public void fmExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
fmExecute in class AbstractMavenMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic File[] getSourcePath()
getSourcePath in interface SourcePathAwareprotected void run()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic void runTest(String swfName, Integer testPort, Integer testControlPort, CoverageReporter reporter) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic List<String> runTest(TestRequest testRequest) throws TestRunnerException, LaunchFlashPlayerException
public void runTests(String[] swfs, CoverageReporter reporter) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void tearDown()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2008–2017 Sonatype, Inc.. All rights reserved.