Packages

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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val DELETE: String
    Definition Classes
    HttpVerbs
  5. val FIREFOX: Class[FirefoxDriver]
  6. val GET: String
    Definition Classes
    HttpVerbs
  7. val HEAD: String
    Definition Classes
    HttpVerbs
  8. val HTMLUNIT: Class[HtmlUnitDriver]
  9. val OPTIONS: String
    Definition Classes
    HttpVerbs
  10. val PATCH: String
    Definition Classes
    HttpVerbs
  11. val POST: String
    Definition Classes
    HttpVerbs
  12. val PUT: String
    Definition Classes
    HttpVerbs
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. lazy val baseApplicationBuilder: GuiceApplicationBuilder

    The base builder used in the running method.

  15. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def inMemoryDatabase(name: String = "default", options: Map[String, String] = Map.empty[String, String]): Map[String, String]

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

  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def running[T](testServer: TestServer, webDriver: WebDriver)(block: (TestBrowser) => T): T

    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

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

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

    Executes a block of code in a running server.

  29. def running[T](builder: (GuiceApplicationBuilder) => GuiceApplicationBuilder)(block: (Application) => T): T
  30. def running[T](app: Application)(block: => T): T

    Executes a block of code in a running application.

  31. def running[T]()(block: (Application) => T): T
  32. def shouldRunSequentially(app: Application): Boolean

    Tests using servers share a test server port so we default to true.

    Tests using servers share a test server port so we default to true.

    Attributes
    protected
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. lazy val testServerPort: Int

    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

  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from HttpVerbs

Inherited from AnyRef

Inherited from Any

Ungrouped