Specs2RouteTest

org.apache.pekko.http.scaladsl.testkit.Specs2RouteTest

Attributes

Source
Specs2Utils.scala
Graph
Supertypes

Members list

Type members

Inherited classlikes

case class DefaultHostInfo(host: Host, securedConnection: Boolean)

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala
Supertypes
class Object
trait Matchable
class Any
class RouteTestResult(timeout: FiniteDuration)(implicit fm: Materializer)

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
abstract class TildeArrow[A, B]

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object TildeArrow

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any
abstract class TildeBangArrow[A, B]

Attributes

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

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any
implicit class WithTransformation[A](value: A)

Attributes

Inherited from:
TransformerPipelineSupport
Source
TransformerPipelineSupport.scala
Supertypes
class Object
trait Matchable
class Any
implicit class WithTransformation2(request: HttpRequest)

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
Supertypes
class Object
trait Matchable
class Any
implicit class WithTransformerConcatenation[A, B](f: A => B) extends A => B

Attributes

Inherited from:
TransformerPipelineSupport
Source
TransformerPipelineSupport.scala
Supertypes
trait A => B
class Object
trait Matchable
class Any

Inherited types

Value members

Inherited methods

def WS(uri: Uri, clientSideHandler: Flow[Message, Message, Any], subprotocols: Seq[String])(implicit materializer: Materializer): HttpRequest

Attributes

Inherited from:
WSTestRequestBuilding
Source
WSTestRequestBuilding.scala
def actorSystemNameFrom(clazz: Class[_]): String

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala
override def afterAll(): Unit

Attributes

Definition Classes
Inherited from:
Specs2
Source
TestFrameworkInterface.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

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

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def cleanUp(): Unit

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def entityAs[T : ClassTag](implicit evidence$1: FromEntityUnmarshaller[T], evidence$2: ClassTag[T], timeout: Duration): T

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def evaluateTo[T](value: T)(implicit ee: ExecutionEnv): Matcher[Future[T]]

Attributes

Inherited from:
Specs2Utils
Source
Specs2Utils.scala

Asserts that the received response is a WebSocket upgrade response and the extracts the chosen subprotocol and passes it to the handler.

Asserts that the received response is a WebSocket upgrade response and the extracts the chosen subprotocol and passes it to the handler.

Attributes

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

Attributes

Inherited from:
Specs2
Source
TestFrameworkInterface.scala

Attributes

Inherited from:
FragmentsFactory
Source
FragmentFactory.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def haveFailedWith(t: Throwable)(implicit ee: ExecutionEnv): Matcher[Future[_]]

Attributes

Inherited from:
Specs2Utils
Source
Specs2Utils.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def header[T >: Null <: HttpHeader : ClassTag]: Option[T]

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
SpecificationStructure
Source
SpecificationStructure.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def logValue[T](logFun: T => Unit): T => T
override def map(fs: => Fragments): Fragments

modify the fragments

modify the fragments

Attributes

Definition Classes
Inherited from:
AfterAll
Source
EachContext.scala

modify the fragments, using the current environment

modify the fragments, using the current environment

Attributes

Inherited from:
SpecificationStructure
Source
SpecificationStructure.scala

modify the specification structure

modify the specification structure

Attributes

Inherited from:
SpecificationStructure
Source
SpecificationStructure.scala
def marshal[T : ToEntityMarshaller](value: T)(implicit evidence$1: ToEntityMarshaller[T], ec: ExecutionContext, mat: Materializer): Strict

Attributes

Inherited from:
MarshallingTestUtils
Source
MarshallingTestUtils.scala
def marshalToResponse[T : ToResponseMarshaller](value: T, request: HttpRequest)(implicit evidence$3: ToResponseMarshaller[T], ec: ExecutionContext): HttpResponse

Attributes

Inherited from:
MarshallingTestUtils
Source
MarshallingTestUtils.scala

Attributes

Inherited from:
MarshallingTestUtils
Source
MarshallingTestUtils.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RequestBuilding
Source
RequestBuilding.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def responseAs[T : ClassTag](implicit evidence$3: FromResponseUnmarshaller[T], evidence$4: ClassTag[T], timeout: Duration): T

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
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

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
def unmarshal[T : FromEntityUnmarshaller](entity: HttpEntity)(implicit evidence$5: FromEntityUnmarshaller[T], ec: ExecutionContext, mat: Materializer): Try[T]

Attributes

Inherited from:
MarshallingTestUtils
Source
MarshallingTestUtils.scala

Attributes

Inherited from:
Specs2Utils
Source
Specs2Utils.scala

Attributes

Inherited from:
Specs2Utils
Source
Specs2Utils.scala
def unmarshalValue[T : FromEntityUnmarshaller](entity: HttpEntity)(implicit evidence$4: FromEntityUnmarshaller[T], ec: ExecutionContext, mat: Materializer): 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

Attributes

Inherited from:
Specs2
Source
TestFrameworkInterface.scala

Implicits

Inherited implicits

final implicit def WithTransformation[A](value: A): WithTransformation[A]
final implicit def WithTransformation2(request: HttpRequest): WithTransformation2

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
implicit val materializer: Materializer

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala
implicit val system: ActorSystem

Attributes

Inherited from:
RouteTest
Source
RouteTest.scala