Exemplo n.º 1
0
 /**
  * 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(FakeApplication app) {
   return testServer(play.api.test.Helpers.testServerPort(), app);
 }
Exemplo n.º 2
0
 /**
  * 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());
 }