play.api.test

WithServer

abstract class WithServer extends Around with Scope

Used to run specs within the context of a running server.

Linear Supertypes
Around, DelayedInit, Around, Context, Scope, Scope, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. WithServer
  2. Around
  3. DelayedInit
  4. Around
  5. Context
  6. Scope
  7. Scope
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WithServer(app: Application = ..., port: Int = Helpers.testServerPort, serverProvider: Option[ServerProvider] = scala.None)

    app

    The fake application

    port

    The port to run the server on

    serverProvider

    *Experimental API; subject to change* The type of server to use. Defaults to providing a Netty server.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def andThen(a: Around): Around

    Definition Classes
    Around
  7. val app: Application

    The fake application

  8. def apply[T](a: ⇒ T)(implicit arg0: AsResult[T]): Result

    Definition Classes
    Around → Context
  9. def around[T](t: ⇒ T)(implicit arg0: AsResult[T]): Result

    Definition Classes
    WithServer → Around
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def compose(a: Around): Around

    Definition Classes
    Around
  13. def delayedInit(x: ⇒ Unit): Unit

    Definition Classes
    Around → DelayedInit
  14. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  19. implicit def implicitApp: Application

  20. implicit def implicitPort: Port

  21. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. val port: Int

    The port to run the server on

  26. val serverProvider: Option[ServerProvider]

    *Experimental API; subject to change* The type of server to use.

    *Experimental API; subject to change* The type of server to use. Defaults to providing a Netty server.

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

    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Around

Inherited from DelayedInit

Inherited from Around

Inherited from Context

Inherited from Scope

Inherited from Scope

Inherited from AnyRef

Inherited from Any

Ungrouped