org.codehaus.mojo.javascript
Class TitaniumJasmineMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.javascript.AbstractTitaniumPackageMojo
          extended by org.codehaus.mojo.javascript.TitaniumJasmineMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class TitaniumJasmineMojo
extends AbstractTitaniumPackageMojo

Is defined by the goal name:
titanium-jasmine
Is bound to the specified phase of the standard build lifecycle:
test
Plexus component:
role:
"org.codehaus.mojo.javascript.TitaniumJasmineMojo"
role-hint:
"titanium"

Field Summary
protected  java.io.File jasmineTestSourceDirectory
           
protected  boolean skipTests
          Set this to 'true' to bypass unit tests entirely.
protected  java.io.File testOutputDirectory
          The output directory of the test files.
 
Fields inherited from class org.codehaus.mojo.javascript.AbstractTitaniumPackageMojo
androidAPI, artifactFactory, artifactResolver, executeMode, iosDevelopmentCertificate, iosDevelopmentProvisioningProfile, iosDistributionCertificate, iosDistributionProvisioningProfile, iosVersion, localRepository, outputDirectory, platform, project, remoteRepositories, titaniumSettings, titaniumVersion, virtualDevice
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TitaniumJasmineMojo()
           
 
Method Summary
 void execute()
           
protected  java.lang.String getAppId()
           
protected  java.io.File getPlatformTestOutputDirectory()
           
 
Methods inherited from class org.codehaus.mojo.javascript.AbstractTitaniumPackageMojo
checkPomSettings, downloadTitaniumFromRepositories, extractZipFile, getAndroidAPI, getIosVersion, getTiProjectDirectory, getTitaniumSettings, getVirtualDevice, resolveAndroidBuilder, resolveIOSBuilder
 
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

jasmineTestSourceDirectory

protected java.io.File jasmineTestSourceDirectory
Is defined by:
expression:
${jsunitTestSourceDirectory}
default-value:
${project.basedir}${file.separator}src${file.separator}test${file.separator}javascript

testOutputDirectory

protected java.io.File testOutputDirectory
The output directory of the test files.

Is defined by:
default-value:
${project.build.testOutputDirectory}

skipTests

protected boolean skipTests
Set this to 'true' to bypass unit tests entirely. Its use is NOT RECOMMENDED, but quite convenient on occasion.

Is defined by:
expression:
${maven.test.skip}
Constructor Detail

TitaniumJasmineMojo

public TitaniumJasmineMojo()
Method Detail

getPlatformTestOutputDirectory

protected java.io.File getPlatformTestOutputDirectory()

getAppId

protected java.lang.String getAppId()

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


Copyright © 2011 SOFTEC sa. All Rights Reserved.