/** * Override this method to setup the port to use. * * @return The TCP port used by the server */ protected int providePort() { return play.api.test.Helpers.testServerPort(); }
/** * Override this method to setup the port to use. * * @return The TCP port used by the server */ protected int providePort() { return play.api.test.Helpers.testServerPort(); }
/** * Override this method to setup the port to use. * * @return The TCP port used by the server */ protected int providePort() { return play.api.test.Helpers.testServerPort(); }
/** * Creates a new Test server listening on port defined by configuration setting "testserver.port" (defaults to 19001) and using the given FakeApplication. */ public static TestServer testServer(Application app) { return testServer(play.api.test.Helpers.testServerPort(), app); }
/** * Creates a new Test server listening on port defined by configuration setting "testserver.port" (defaults to 19001). * * @return the test server. */ public static TestServer testServer() { return testServer(play.api.test.Helpers.testServerPort()); }
/** * Creates a new Test server listening on port defined by configuration setting "testserver.port" (defaults to 19001) and using the given Application. * * @param app the application. * @return the test server. */ public static TestServer testServer(Application app) { return testServer(play.api.test.Helpers.testServerPort(), app); }
/** * Creates a new Test server listening on port defined by configuration setting "testserver.port" (defaults to 19001). * * @return the test server. */ public static TestServer testServer() { return testServer(play.api.test.Helpers.testServerPort()); }
/** * Creates a new Test server listening on port defined by configuration setting "testserver.port" (defaults to 19001). */ public static TestServer testServer() { return testServer(play.api.test.Helpers.testServerPort()); }
/** * Creates a new Test server listening on port defined by configuration setting "testserver.port" (defaults to 19001) and using the given Application. * * @param app the application. * @return the test server. */ public static TestServer testServer(Application app) { return testServer(play.api.test.Helpers.testServerPort(), app); }