org.apache.tapestry5.test
Class SeleniumLauncher
java.lang.Object
org.apache.tapestry5.test.SeleniumLauncher
Deprecated. To be removed in Tapestry 5.3.
@Deprecated
public class SeleniumLauncher
- extends java.lang.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
Method Summary |
protected java.lang.Runnable |
launchWebServer(java.lang.String webAppFolder,
java.lang.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 |
SeleniumLauncher
public SeleniumLauncher()
- Deprecated.
startup
public void startup()
throws java.lang.Exception
- Deprecated.
- Throws:
java.lang.Exception
launchWebServer
protected java.lang.Runnable launchWebServer(java.lang.String webAppFolder,
java.lang.String contextPath,
int port,
int sslPort)
throws java.lang.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 contextcontextPath
- the path the context is mapped to, usually the empty stringport
- the port number the server should handlesslPort
- the port number on which the server should handle secure requests
- Returns:
- Runnable used to shut down the server
- Throws:
java.lang.Exception
Copyright © 2003-2012 The Apache Software Foundation.