Trait/Object

play.api.test

PlayRunners

Related Docs: object PlayRunners | package test

Permalink

trait PlayRunners extends HttpVerbs

Helper functions to run tests.

Source
Helpers.scala
Linear Supertypes
HttpVerbs, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PlayRunners
  2. HttpVerbs
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val DELETE: String

    Permalink
    Definition Classes
    HttpVerbs
  5. val FIREFOX: Class[FirefoxDriver]

    Permalink
  6. val GET: String

    Permalink
    Definition Classes
    HttpVerbs
  7. val HEAD: String

    Permalink
    Definition Classes
    HttpVerbs
  8. val HTMLUNIT: Class[HtmlUnitDriver]

    Permalink
  9. val OPTIONS: String

    Permalink
    Definition Classes
    HttpVerbs
  10. val PATCH: String

    Permalink
    Definition Classes
    HttpVerbs
  11. val POST: String

    Permalink
    Definition Classes
    HttpVerbs
  12. val PUT: String

    Permalink
    Definition Classes
    HttpVerbs
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. lazy val baseApplicationBuilder: GuiceApplicationBuilder

    Permalink

    The base builder used in the running method.

  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. def inMemoryDatabase(name: String = "default", options: Map[String, String] = Map.empty[String, String]): Map[String, String]

    Permalink

    Constructs a in-memory (h2) database configuration to add to a FakeApplication.

  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def running[T](testServer: TestServer, webDriver: WebDriver)(block: (TestBrowser) ⇒ T): T

    Permalink

    Executes a block of code in a running server, with a test browser.

  27. def running[T, WEBDRIVER <: WebDriver](testServer: TestServer, webDriver: Class[WEBDRIVER])(block: (TestBrowser) ⇒ T): T

    Permalink

    Executes a block of code in a running server, with a test browser.

  28. def running[T](testServer: TestServer)(block: ⇒ T): T

    Permalink

    Executes a block of code in a running server.

  29. def running[T](builder: (GuiceApplicationBuilder) ⇒ GuiceApplicationBuilder)(block: (Application) ⇒ T): T

    Permalink
  30. def running[T](app: Application)(block: ⇒ T): T

    Permalink

    Executes a block of code in a running application.

  31. def running[T]()(block: (Application) ⇒ T): T

    Permalink
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. lazy val testServerPort: Int

    Permalink

    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

  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from HttpVerbs

Inherited from AnyRef

Inherited from Any

Ungrouped