abstract class Server extends (MixedFixtures.this)#NoArgHelper

NoArg subclass that provides a fixture composed of a Application and running TestServer.

Source
MixedFixtures.scala
Linear Supertypes
(MixedFixtures.this)#NoArgHelper, NoArg, () => Unit, DelayedInit, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Server
  2. NoArgHelper
  3. NoArg
  4. Function0
  5. DelayedInit
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Server(appFun: => Application = new GuiceApplicationBuilder().build(), port: Int = Helpers.testServerPort)

Value Members

  1. lazy val app: Application

    The lazy instance created from passed appFun

  2. def apply(): Unit

    Runs a TestServer using the passed-in Application and port before executing the test body, ensuring both are stopped after the test body completes.

    Runs a TestServer using the passed-in Application and port before executing the test body, ensuring both are stopped after the test body completes.

    Definition Classes
    Server → NoArg → Function0
  3. final def callRunning(): Boolean
    Definition Classes
    NoArgHelper
  4. final def delayedInit(body: => Unit): Unit
    Definition Classes
    NoArg → DelayedInit
  5. lazy val errorMsg: String
    Definition Classes
    NoArgHelper
  6. implicit def implicitApp: Application

    Makes the passed in Application implicit.

  7. var port: Int
  8. implicit def portNumber: PortNumber

    Implicit PortNumber method that wraps port.

    Implicit PortNumber method that wraps port. The value returned from portNumber.value will be same as the value of port.

  9. def running(): Unit
    Definition Classes
    NoArgHelper
  10. final val styleName: Int
    Definition Classes
    NoArg
  11. def toString(): String
    Definition Classes
    Function0 → AnyRef → Any