net.jangaroo.jooc.mvnplugin.test
Class PhantomJsTestRunner

java.lang.Object
  extended by net.jangaroo.jooc.mvnplugin.test.PhantomJsTestRunner

public class PhantomJsTestRunner
extends Object


Constructor Summary
PhantomJsTestRunner(String phantomjs, String testPageUrl, String testResultFilename, String testRunner, int timeout, org.apache.maven.plugin.logging.Log log)
           
 
Method Summary
 boolean canRun()
           
 boolean execute()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PhantomJsTestRunner

public PhantomJsTestRunner(String phantomjs,
                           String testPageUrl,
                           String testResultFilename,
                           String testRunner,
                           int timeout,
                           org.apache.maven.plugin.logging.Log log)
Parameters:
phantomjs - the binary to execute
testPageUrl - the URL of the test page to load
testResultFilename - the file to write the test result into
testRunner - the test bootstrap script to be loaded in phantomjs
timeout - timeout in seconds
log - the maven log
Method Detail

execute

public boolean execute()
                throws org.codehaus.plexus.util.cli.CommandLineException
Throws:
org.codehaus.plexus.util.cli.CommandLineException

canRun

public boolean canRun()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.