public class RunWithWebServer
extends org.junit.rules.ExternalResource
| Constructor and Description |
|---|
RunWithWebServer(String classPathResource) |
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
void |
before() |
int |
getPort() |
URL |
getSiteUrl() |
com.crawljax.core.configuration.CrawljaxConfiguration.CrawljaxConfigurationBuilder |
newConfigBuilder() |
com.crawljax.core.configuration.CrawljaxConfiguration.CrawljaxConfigurationBuilder |
newConfigBuilder(String context) |
protected org.eclipse.jetty.server.Server |
newWebServer()
Override this method to configure custom server settings.
|
void |
stop() |
public RunWithWebServer(String classPathResource)
classPathResource - The name of the resource. This resource must be on the test or regular classpath.public void before()
throws Exception
before in class org.junit.rules.ExternalResourceExceptionprotected org.eclipse.jetty.server.Server newWebServer()
Server.public void after()
after in class org.junit.rules.ExternalResourcepublic URL getSiteUrl()
public int getPort()
public com.crawljax.core.configuration.CrawljaxConfiguration.CrawljaxConfigurationBuilder newConfigBuilder()
public com.crawljax.core.configuration.CrawljaxConfiguration.CrawljaxConfigurationBuilder newConfigBuilder(String context)
Copyright © 2007-2013. All Rights Reserved.