tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (TAP5-1103) Add "SeleniumOnlyLauncher" (code provided)
Date Thu, 25 Jul 2013 21:33:48 GMT

     [ 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

Mime
View raw message