Block until a Promise is redeemed with the specified timeout.
Block until a Promise is redeemed with the specified timeout.
Block until a Promise is redeemed.
Block until a Promise is redeemed.
Extracts the Charset of this Result value.
Extracts the Charset of this Result value.
Extracts the content as bytes.
Extracts the content as bytes.
Extracts the content as bytes.
Extracts the content as bytes.
Extracts the content as Json.
Extracts the content as Json.
Extracts the content as Json.
Extracts the content as Json.
Extracts the content as String.
Extracts the content as String.
Extracts the content as String.
Extracts the content as String.
Extracts the Content-Type of this Result value.
Extracts the Content-Type of this Result value.
Extracts the Content-Type of this Content value.
Extracts the Content-Type of this Content value.
Extracts the Cookies of this Result value.
Extracts the Cookies of this Result value.
The default await timeout.
The default await timeout. Override this to change it.
Extracts the Flash values of this Result value.
Extracts the Flash values of this Result value.
Extracts an Header value of this Result value.
Extracts an Header value of this Result value.
Extracts all Headers of this Result value.
Extracts all Headers of this Result value.
Constructs a in-memory (h2) database configuration to add to a FakeApplication.
Constructs a in-memory (h2) database configuration to add to a FakeApplication.
Extracts the Location header of this Result value if this Result is a Redirect.
Extracts the Location header of this Result value if this Result is a Redirect.
Use the Router to determine the Action to call for this request and execute it.
Use the Router to determine the Action to call for this request and execute it.
The body is serialised using the implicit writable, so that the action body parser can deserialise it.
Use the Router to determine the Action to call for this request and execute it.
Use the Router to determine the Action to call for this request and execute it.
The body is serialised using the implicit writable, so that the action body parser can deserialise it.
Use the Router to determine the Action to call for this request and execute it.
Use the Router to determine the Action to call for this request and execute it.
The body is serialised using the implicit writable, so that the action body parser can deserialise it.
Use the Router to determine the Action to call for this request and execute it.
Use the Router to determine the Action to call for this request and execute it.
The body is serialised using the implicit writable, so that the action body parser can deserialise it.
Executes a block of code in a running server, with a test browser.
Executes a block of code in a running server, with a test browser.
Executes a block of code in a running server.
Executes a block of code in a running server.
Executes a block of code in a running application.
Executes a block of code in a running application.
Extracts the Session of this Result value.
Extracts the Session of this Result value. Extracts the Session from this Result value.
Extracts the Status code of this Result value.
Extracts the Status code of this Result value.
The port to use for a test server.
The port to use for a test server. Defaults to 19001. May be configured using the system property testserver.port
Construct a WS request for the given reverse route.
Construct a WS request for the given reverse route.
For example:
wsCall(controllers.routes.Application.index()).get()
Construct a WS request for the given relative URL.
Construct a WS request for the given relative URL.
Use the Router to determine the Action to call for this request and executes it.
Use the Router to determine the Action to call for this request and executes it.
(Since version 2.1.0) Use route
instead.
Use the Router to determine the Action to call for this request and executes it.
Use the Router to determine the Action to call for this request and executes it.
(Since version 2.1.0) Use route
instead.
Play specs2 specification.
This trait excludes some of the mixins provided in the default specs2 specification that clash with Play helpers methods. It also mixes in the Play test helpers and types for convenience.