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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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 asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def callRunning(): Boolean
- Definition Classes
- NoArgHelper
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def delayedInit(body: => Unit): Unit
- Definition Classes
- NoArg → DelayedInit
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- lazy val errorMsg: String
- Definition Classes
- NoArgHelper
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- implicit def implicitApp: Application
Makes the passed in
Application
implicit. - final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Function0 → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)