abstract class Server extends NoArg
NoArg
subclass that provides a fixture composed of a Application
and running TestServer
.
- Source
- MixedFixtures.scala
- Alphabetic
- By Inheritance
- Server
- NoArg
- Function0
- DelayedInit
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Server(appFun: ⇒ Application = ..., 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
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
delayedInit(body: ⇒ Unit): Unit
- Definition Classes
- NoArg → DelayedInit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val port: Int
-
implicit
lazy val
portNumber: PortNumber
Implicit
PortNumber
instance that wrapsport
.Implicit
PortNumber
instance that wrapsport
. The value returned fromportNumber.value
will be same as the value ofport
. -
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(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()