public class NinjaTest extends Object
| Modifier and Type | Field and Description |
|---|---|
NinjaTestBrowser |
ninjaTestBrowser
A persistent HttpClient that stores cookies to make requests
|
NinjaTestServer |
ninjaTestServer
Backend of the test => Starts Ninja
|
| Constructor and Description |
|---|
NinjaTest() |
| Modifier and Type | Method and Description |
|---|---|
com.google.inject.Injector |
getInjector() |
String |
getServerAddress()
Something like http://localhost:8080/
Will contain trailing slash!
|
URI |
getServerAddressAsUri() |
void |
shutdownServerAndBrowser() |
void |
startupServerAndBrowser() |
public NinjaTestServer ninjaTestServer
public NinjaTestBrowser ninjaTestBrowser
public void startupServerAndBrowser()
public com.google.inject.Injector getInjector()
public String getServerAddress()
public URI getServerAddressAsUri()
public void shutdownServerAndBrowser()
Copyright © 2014. All Rights Reserved.