/** * Creates a new Test server. * * * @param port the port to run the server on. * @param app the Play application. * @return the test server. */ public static TestServer testServer(int port, Application app) { return new TestServer(port, app); }
/** * Creates a new Test server. */ public static TestServer testServer(int port, Application app) { return new TestServer(port, app); }
/** * Creates a new Test server. * * * @param port the port to run the server on. * @param app the Play application. * @return the test server. */ public static TestServer testServer(int port, Application app) { return new TestServer(port, app); }
/** * Creates a new Test server. */ public static TestServer testServer(int port) { return new TestServer(port, fakeApplication()); }
/** * Creates a new Test server. * * @param port the port to run the server on. * @return the test server. */ public static TestServer testServer(int port) { return new TestServer(port, fakeApplication()); }
/** * Creates a new Test server. * * @param port the port to run the server on. * @param sslPort the port to run the server on. * @return the test server. */ public static TestServer testServer(int port, int sslPort) { return new TestServer(port, fakeApplication(), sslPort); }
/** * Creates a new Test server. * * @param port the port to run the server on. * @param sslPort the port to run the server on. * @return the test server. */ public static TestServer testServer(int port, int sslPort) { return new TestServer(port, fakeApplication(), sslPort); }
/** * Creates a new Test server. * * @param port the port to run the server on. * @return the test server. */ public static TestServer testServer(int port) { return new TestServer(port, fakeApplication()); }
/** * Creates a new Test server. */ public static TestServer testServer(int port, FakeApplication app) { return new TestServer(port, app); }
/** * Creates a new Test server. */ public static TestServer testServer(int port) { return new TestServer(port, fakeApplication()); }