RouteTest

pl.iterators.stir.testkit.RouteTest

Attributes

Source
RouteTest.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Show all
Known subtypes
Self type

Members list

Type members

Classlikes

abstract class TildeArrow[A, B]

Attributes

Companion
object
Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object TildeArrow

Attributes

Companion
class
Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any
Self type
TildeArrow.type
abstract class TildeBangArrow[A, B]

Attributes

Companion
object
Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any
Self type
implicit class WithTransformation2(request: Request[IO])

Attributes

Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any

Inherited classlikes

class RequestBuilder(val method: Method)

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala
Supertypes
class Object
trait Matchable
class Any
class RouteTestResult()

A receptacle for the response or rejections created by a route.

A receptacle for the response or rejections created by a route.

Attributes

Inherited from:
RouteTestResultComponent
Source
RouteTestResultComponent.scala
Supertypes
class Object
trait Matchable
class Any

Inherited types

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Value members

Concrete methods

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala
def check[T](body: => T): RouteTestResult => T

Attributes

Source
RouteTest.scala
def cleanUp(): Unit

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala
def entityAs[T](implicit um: EntityDecoder[IO, T], cls: ClassTag[T]): T

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala
def header[T](implicit ev: Select[T], cls: ClassTag[T]): Option[F[T]]

Attributes

Source
RouteTest.scala
def header(name: String): Option[Raw]

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala
def responseAs[T](implicit um: EntityDecoder[IO, T], cls: ClassTag[T]): T

Attributes

Source
RouteTest.scala

Attributes

Source
RouteTest.scala

A dummy that can be used as ~> runRoute to run the route but without blocking for the result. The result of the pipeline is the result that can later be checked with check. See the "separate running route from checking" example from ScalatestRouteTestSpec.scala.

A dummy that can be used as ~> runRoute to run the route but without blocking for the result. The result of the pipeline is the result that can later be checked with check. See the "separate running route from checking" example from ScalatestRouteTestSpec.scala.

Attributes

Source
RouteTest.scala
def status: Status

Attributes

Source
RouteTest.scala

Inherited methods

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala
def addHeader(headerName: String, headerValue: String): RequestTransformer

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala
def addHeaders(first: ToRaw, more: ToRaw*): RequestTransformer

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala
def failTest(msg: String): Nothing

Attributes

Inherited from:
RouteTestResultComponent
Source
RouteTestResultComponent.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala
def marshal[T](t: T)(implicit m: ToResponseMarshaller[T], runtime: IORuntime): EntityBody[IO]

Attributes

Inherited from:
MarshallingTestUtils
Source
MarshallingTestUtils.scala
def marshalToResponse[T](t: T)(implicit m: ToResponseMarshaller[T], runtime: IORuntime): Response[IO]

Attributes

Inherited from:
MarshallingTestUtils
Source
MarshallingTestUtils.scala
def removeHeader[T](implicit h: Header[T, _]): RequestTransformer

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala
def unmarshal[T](request: Request[IO])(implicit um: EntityDecoder[IO, T], runtime: IORuntime): Try[T]

Attributes

Inherited from:
MarshallingTestUtils
Source
MarshallingTestUtils.scala
def unmarshalValue[T](request: Request[IO])(implicit um: EntityDecoder[IO, T], runtime: IORuntime): T

Attributes

Inherited from:
MarshallingTestUtils
Source
MarshallingTestUtils.scala

Inherited fields

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Implicits

Implicits

final implicit def WithTransformation2(request: Request[IO]): WithTransformation2

Attributes

Source
RouteTest.scala
implicit def runtime: IORuntime

Attributes

Source
RouteTest.scala

Inherited implicits

implicit def header2AddHeader(header: ToRaw): RequestTransformer

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala