org.apache.tapestry5.test
Class SeleniumLauncher

java.lang.Object
  extended by org.apache.tapestry5.test.SeleniumLauncher

Deprecated. To be removed in Tapestry 5.3.

@Deprecated
public class SeleniumLauncher
extends Object

This class is no longer necessary (as part of the TAP5-1315 fix) and the reference to it inside testng.xml may be removed.

Since:
5.2.0

Constructor Summary
SeleniumLauncher()
          Deprecated.  
 
Method Summary
protected  Runnable launchWebServer(String webAppFolder, String contextPath, int port, int sslPort)
          Deprecated. Launches the web server to be tested.
 void startup()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeleniumLauncher

public SeleniumLauncher()
Deprecated. 
Method Detail

startup

public void startup()
             throws Exception
Deprecated. 
Throws:
Exception

launchWebServer

protected Runnable launchWebServer(String webAppFolder,
                                   String contextPath,
                                   int port,
                                   int sslPort)
                            throws Exception
Deprecated. 
Launches the web server to be tested. The return value is a Runnable that will shut down the launched server at the end of the test (it is coded this way so that the default Jetty web server can be more easily replaced).

Parameters:
webAppFolder - path to the web application context
contextPath - the path the context is mapped to, usually the empty string
port - the port number the server should handle
sslPort - the port number on which the server should handle secure requests
Returns:
Runnable used to shut down the server
Throws:
Exception


Copyright © 2003-2012 The Apache Software Foundation.