net.flexmojos.oss.test.launcher
Class AsVmLauncher
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
net.flexmojos.oss.test.AbstractControlledThread
net.flexmojos.oss.test.launcher.AsVmLauncher
- All Implemented Interfaces:
- Runnable, ControlledThread, org.codehaus.plexus.logging.LogEnabled
@Component(role=AsVmLauncher.class,
instantiationStrategy="per-lookup")
public class AsVmLauncher- extends AbstractControlledThread
- implements ControlledThread
ActionScript runtime launcher. This class is used to launch the application that runs unit tests.
| Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsVmLauncher
public AsVmLauncher()
getConsoleOutput
public String getConsoleOutput()
reset
protected void reset()
- Overrides:
reset in class AbstractControlledThread
run
public void run()
- Specified by:
run in interface Runnable
start
public void start(TestRequest request)
throws LaunchFlashPlayerException,
InvalidSwfException
- Run the SWF that contains the FlexUnit tests.
- Parameters:
request - the TestRequest instance.
- Throws:
LaunchFlashPlayerException - Thrown if the flash player fails to launch.
InvalidSwfException - Thrown if the requested test swf cannot be found or is not set.
stop
public void stop()
- Specified by:
stop in interface ControlledThread
useXvfb
protected boolean useXvfb()
Copyright © 2008–2014 flexmojos. All rights reserved.