You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2013/07/25 23:33:48 UTC
[jira] [Closed] (TAP5-1103) Add "SeleniumOnlyLauncher" (code
provided)
[ https://issues.apache.org/jira/browse/TAP5-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAP5-1103.
--------------------------------------
Resolution: Won't Fix
> Add "SeleniumOnlyLauncher" (code provided)
> ------------------------------------------
>
> Key: TAP5-1103
> URL: https://issues.apache.org/jira/browse/TAP5-1103
> Project: Tapestry 5
> Issue Type: Improvement
> Reporter: Pierce Wetter
>
> Include a class in tapestry-test that only launches Selenium, not Jetty or any other server. This lets you run tests where you've launched the application in some other way (various maven plugins, etc. )
> /**
> * Override of SeleniumLauncher to skip the webserver launch entirely.
> *
> * @author pierce
> */
> public class SeleniumOnly extends SeleniumLauncher
> {
>
> @Override
> protected Runnable launchWebServer(
> String webAppFolder, String contextPath, int port, int sslPort
> ) throws Exception
> {
> System.out.println(" webserver start");
> return new Runnable()
> {
> @Override
> public void run()
> {
> System.out.println(" webserver stop");
> }
> };
> }
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira