abstract class Server extends (MixedFixtures.this)#NoArgHelper
NoArg
subclass that provides a fixture composed of a Application
and running TestServer
.
- Source
- MixedFixtures.scala
- Alphabetic
- By Inheritance
- Server
- NoArgHelper
- NoArg
- Function0
- DelayedInit
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Server(appFun: => Application = new GuiceApplicationBuilder().build(), port: Int = Helpers.testServerPort)
Value Members
- lazy val app: Application
The lazy instance created from passed
appFun
- def apply(): Unit
Runs a
TestServer
using the passed-inApplication
and port before executing the test body, ensuring both are stopped after the test body completes.Runs a
TestServer
using the passed-inApplication
and port before executing the test body, ensuring both are stopped after the test body completes.- Definition Classes
- Server → NoArg → Function0
- final def callRunning(): Boolean
- Definition Classes
- NoArgHelper
- final def delayedInit(body: => Unit): Unit
- Definition Classes
- NoArg → DelayedInit
- lazy val errorMsg: String
- Definition Classes
- NoArgHelper
- implicit def implicitApp: Application
Makes the passed in
Application
implicit. - var port: Int
- implicit def portNumber: PortNumber
Implicit
PortNumber
method that wrapsport
.Implicit
PortNumber
method that wrapsport
. The value returned fromportNumber.value
will be same as the value ofport
. - def running(): Unit
- Definition Classes
- NoArgHelper
- final val styleName: Int
- Definition Classes
- NoArg
- def toString(): String
- Definition Classes
- Function0 → AnyRef → Any