trait
SprayTest
extends AnyRef
Type Members
-
-
-
trait
ServiceTest
extends HttpServiceLogic with Logging
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
asInstanceOf
[T0]
: T0
-
def
captureRequestContext
(route: ((Route) ⇒ Route) ⇒ Unit): RequestContext
-
def
clone
(): AnyRef
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
finalize
(): Unit
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
isInstanceOf
[T0]
: Boolean
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
test
(request: HttpRequest)(route: Route): RoutingResultWrapper
-
-
def
toString
(): String
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
-
implicit def
wrapRootRoute
(rootRoute: Route): ServiceTest
Inherited from AnyRef
Inherited from Any
Mix this trait into the class or trait containing your route and service tests. Use the {{test}} and {{testService}} methods to test the behavior of your routes and services for different HTTP request examples.