net.jangaroo.jooc.mvnplugin.test
Class PhantomJsTestRunner
java.lang.Object
net.jangaroo.jooc.mvnplugin.test.PhantomJsTestRunner
public class PhantomJsTestRunner
- extends Object
LOG_LEVEL_PATTERN
public static final Pattern LOG_LEVEL_PATTERN
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 executetestPageUrl - the URL of the test page to loadtestResultFilename - the file to write the test result intotestRunner - the test bootstrap script to be loaded in phantomjstimeout - timeout in secondslog - the maven log
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–2013 CoreMedia AG. All rights reserved.